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.
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?
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
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
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"
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
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.
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
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
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
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.
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.
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.
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
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