Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are experiencing issues with your website where translations have stopped syncing, the navigation menu switcher generates random links, and the website is experiencing frequent crashes. Errors reported include PHP memory exhaustion and incorrect function calls for loading translations.
Solution:
1. Contact your hosting provider to increase the server PHP memory limit as indicated by the 'Fatal error: Allowed memory size exhausted' message.
2. For the PHP 'Notice: Function _load_textdomain_just_in_time', refer to the WPML errata page for guidance on resolving early translation loading issues: https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
3. For issues related to properties missing 'agents', follow the instructions provided in this video tutorial to assign agents to properties: https://go.screenpal.com/watch/cThQoCnQ5xZ

If these steps do not resolve your issues or if the solution seems outdated or irrelevant to your case, we recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum: WPML Support Forum.

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.

Tagged: 

This topic contains 7 replies, has 1 voice.

Last updated by Gilbert 1 month ago.

Assisted by: Kor.

Author Posts
April 25, 2025 at 3:44 am #16966634

Gilbert

Background of the issue:
I am trying to resolve issues with my website, hidden link, where translations have stopped syncing. I have reverted to WordPress version 6.8 due to crashes and ensured all plugins are up to date. I have also followed the troubleshooting documentation provided by WPML.

Symptoms:
The navigation menu switcher generates random links, translations are not syncing, and the website is experiencing frequent crashes.

Questions:
Why have all our translations stopped syncing?
Why is the navigation menu switcher generating random links?
What could be causing the frequent crashes on our website?

April 25, 2025 at 4:34 am #16966751

Gilbert

As an additional information, we have the following debug issues:

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) in /home/phuketse/public_html/wp-includes/functions.php on line 650

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 65536 bytes) in /home/phuketse/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/Core/Component/Post/Domain/WordCount/StripCodeInterface.php on line 5

April 25, 2025 at 4:42 am #16966753

Gilbert

We also get this error:

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpresidence 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/phuketse/public_html/wp-includes/functions.php on line 6114

April 25, 2025 at 11:48 am #16968407

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us.

Please reach out to your hosting provider and ask them to increase the server PHP memory or show them this error message "Fatal error: Allowed memory size of 536870912 bytes exhausted"

As for the PHP "Notice: Function _load_textdomain_just_in_time" , you can refer to this errata https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/

April 26, 2025 at 1:59 am #16970201

Gilbert

Good morning Kor,
Thank you for your message.
We have increased the PHP values and updated the theme to the latest version that was released today.
Unfortunately, this has not resolved the issue. We are still experiencing a "Fatal Crash" when using the search function, and the flags in the navigation menu remain incorrect — they do not link to the appropriate translations.

Can we provide you with Admin access so that you can check it out?
Much appreciated

April 28, 2025 at 1:32 am #16972952

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

April 28, 2025 at 9:28 am #16973968

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. Could you please contact your hosting provider and ask them why you're still getting the PHP error shown below? I've enabled debugging on your server.

[28-Apr-2025 09:21:19 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /home/phuketse/public_html/wp-includes/functions.php on line 656

April 28, 2025 at 11:25 am #16974575

Gilbert

Hello Kor,
We contacted our host and they increased the PHP memory from 512 to 1GB...
This of course has no incidence on our issue with the translations, so if you can please check and see why WPML started suddenly to be out of sync.
Much appreciated

April 28, 2025 at 5:39 pm #16976156

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your patience.

I regret any inconvenience caused, but to proceed with troubleshooting, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To guide you further, please adhere to these instructions:

1. View the Duplicator instructions video: hidden link

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.

Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.

Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.

April 29, 2025 at 6:47 pm #16980752

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. There is a missing installer.php file. Could you check on your end? Also, I've tried to check here hidden link but I cannot locate any files.

April 30, 2025 at 12:25 am #16981408

Gilbert

Hello Kor,
Sorry for the confusion, I did delete the plugin and its data after the initial backup.

I reinstalled it and created the back-up for you. Please login and download it.

Much appreciated.

May 1, 2025 at 6:01 pm #16987187

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I'm able to replicate the issue locally. Please allow me to escalate this to our 2nd Tier Support for further investigation. I will come back to you as quickly as possible.

May 6, 2025 at 3:37 am #16998951

Gilbert

Good morning Kor,
Any updates regarding our issue? The website is basically unusable in its current state and we really need to fix this asap.
Thank you for your help

May 6, 2025 at 5:07 am #16999012

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. Your report is still in the queue for review. I will come back to you once I've received feedback.

May 9, 2025 at 10:19 am #17015886

Gilbert

Hello Kor,
I hope there are any updates for our issue. Our website is becoming unusable and we are losing visitors and SEO ranking !
What seems to be the reason for this bug? Can we do anything while your team is waiting to fix it?
Thank you