This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| - | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
| - | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | - |
Supporter timezone: Europe/Zagreb (GMT+02:00)
Tagged: Exception
This topic contains 17 replies, has 0 voices.
Last updated by Dražen 1 hour, 22 minutes ago.
Assisted by: Dražen.
| Author | Posts |
|---|---|
| December 2, 2025 at 10:52 am | |
|
sarahI |
Please refer to https://wpml.org/forums/topic/translation-content-saving-issues/ You closed the ticket while i was attempting to follow the instructions. I tried the code snippet but it doesnt resolve the issue |
| December 2, 2025 at 11:41 am #17625940 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks, I have tried with copy on my local host and it works fine, so I suspect it is either some restriction or custom configuration causing this. 1) Would it be possible to create a staging site so we can check safely further? 2) Can you please check for server and PHP error logs for any helpful error message? 3) Is it possible to check without root /global/ just to see if maybe this configuration is somehow causing issue on your side. Let me know. Thanks, |
| December 2, 2025 at 3:08 pm #17627160 | |
|
sarahI |
Hi Drazen Thanks for taking a look, I have created a staging site at hidden link, I am just waiting for the IT team to point the DNS. Unfortunately, we can't test this on the root domain as this would require us installing WPML on their live ecommerce website which is very busy so that isn't an option for us. Here are few lines from the debug log [02-Dec-2025 14:58:42 UTC] WordPress database error Table 'dbgggjnw4cggj5.wp_actionscheduler_logs' doesn't exist for query SHOW FULL COLUMNS FROM `wp_actionscheduler_logs` made by do_action_ref_array('action_scheduler_run_queue'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_Abstract_QueueRunner->schedule_next_instance, ActionScheduler_ActionFactory->repeat, ActionScheduler_ActionFactory->store, ActionScheduler_HybridStore->save_action, ActionScheduler_DBStoreMigrator->save_action, ActionScheduler_DBStore->save_action, ActionScheduler_DBStore->save_action_to_db, do_action('action_scheduler_stored_action'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_Logger->log_stored_action, ActionScheduler_DBLogger->log megamenu-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/godminster.com/public_html/global/wp-includes/functions.php on line 6121 acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/godminster.com/public_html/global/wp-includes/functions.php on line 6121 This from the server error log but it doesn't specify whether this would be from the main site or the sub site 2025-12-02 12:27:40 UTC [nginx][error] 64143#0: *4768444 openat() "/home/u2139-4guvgwq86pu8/www/godminster.com/public_html/.well-known/passkey-endpoints" failed (2: No such file or directory), client: 104.28.86.128, server: godminster.com, request: "GET /.well-known/passkey-endpoints HTTP/2.0", host: "godminster.com" --- If it does appear to be a conflict with the live site, would you maybe recommend us loading the website on a sub-domain instead and remapping the URLs? Our other option is to use a fresh domain but that then changes the whole SEO strategy. |
| December 3, 2025 at 7:11 am #17629152 | |
|
sarahI |
Update - hidden link is now working I sorted out a mismatch of the domain URL with www I have tested the site with the WPML plugin disabled and I can create a new page and publish. Unfortunately when I activate the WPML plugins we just hit the same issue as before so there must be something related to WPML that is causing this or a conflict somewhere. If you have any problems accessing let me know? |
| December 3, 2025 at 7:31 am #17629218 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks for detailed reply and informations. I have checked your staging website, and I think I have found the problem. I am now trying to reproduce it on my localhost so I can escalate further. I will update you soon. Regards, |
| December 3, 2025 at 7:47 am #17629388 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, Thanks for waiting. I’ve identified the issue and have already escalated it. I was not able to reproduce the problem on my local environment. It appears to be related to the fact that your site is running in a subdirectory and the option “Use directory for default language” is enabled. This combination seems to be causing the issue. If you temporarily disable the “Use directory for default language” option from WPML > Languages, everything works correctly. I’ve forwarded this to our second-tier team for further investigation and guidance. I’ll update you as soon as I have more information—this may take a day or two but we will do our best to be quicker, since I know this is a bit showstopper for your website. Best regards, |
| December 3, 2025 at 10:12 am #17629978 | |
|
sarahI |
Thanks Drazen I look forward to your team's feedback, I'm going to be travelling overseas tomorrow so won't be able to check the ticket again until the weekend at the earliest. Andy (on behalf of Sarah) |
| December 3, 2025 at 10:26 am #17630009 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello Andy, thanks for updating me, safe travels! I will share with you as soon as I have some feedback, in the meantime if this is a workable solution for you, you can disable option Use directory for default language and continue like that, until we have a solution. Let me know if that works for you. Regards, |
| December 3, 2025 at 10:52 am #17630185 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, seems issue happens only on your environment / specific hosting you are using. We were not able to reproduce it on our side. Can you please let me know if the suggestion from my last reply is a workable solution for you? Thanks and regards, |
| December 3, 2025 at 11:51 am #17630564 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, Another update — it looks like we’ve identified the cause and the solution. The issue was that the root page from the same option was missing. I created a new empty page to serve as the root, and the problem is now resolved. You should be able to save and translate pages without any issues. Please check and let me know if everything works as expected. Regards, |
| December 3, 2025 at 3:13 pm #17631358 | |
|
sarahI |
Hi Drazen That's great you've got it working, I've just re-enabled the theme and plugins on the staging version and it seems to be OK now. Can I just ask what i need to do on the godminster.com/global site? I've already got a page called 'Global', I need to set this as the root page but I can't seem to set that. Would you be able to take a look to see if we can use that, if not I guess we can start with an empty page again. Thanks Andy |
| December 4, 2025 at 6:45 am #17632634 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello Andy, great, thanks for getting back. There is no way to select the root page, but you can delete your current Global page in both languages, and then from WPML > Languages click on Create a root page and create new one. Let me know how it goes and if anything else I can do to help. Regards, |
| December 8, 2025 at 2:12 am #17642704 | |
|
sarahI |
Hi Drazen I've managed to set the root page but I'm still having problems publishing. It seems that I can now save changes to my existing pages in the default language but not the Swedish pages. Could you take a look to see if I've missed anything? Note this is on hidden link Thanks Andy PS - I'm +10 hours in Australia (from UK) so maybe a delay in replying |
| December 8, 2025 at 7:24 am #17642823 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello Andy, thanks for getting back. Very weird situation, I have checked and I could see it works fine on staging site, then after checking back and forth between production and staging, it started happening again on staging site, so I am not really sure what is the cause. I still suspect it might be something related to server / firewall side. I will check now again with our 2nd tier, so they can advise further, and then I will get back to you. Regards, |
| December 8, 2025 at 11:44 am #17643638 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, our 2nd tier team checked further, as same as I, they are not experiencing any problems on their test setup. While comparing your site with test environment, they noticed they cannot replicate your language setup — they’re not sure how it was created. For example, your English language is set with the code “us”, but it still uses the standard locale en_US. If we try to reproduce this configuration, it gets rejected because the default locale en_US is already in use, so it can not be saved. Also looks like you are using a custom language, but it doesn’t show the little X (delete) icon that regular custom languages have. Image attached from my side. Can you please share more info on how this language setup was originally created? Did you create custom language during setup or later, or maybe altered them in database? Thanks and kind regards, |
