Background of the issue:
I am trying to update PHP on my site. When I update to PHP above 7.4.33, the site goes down. I expected to see a live website. The issue seems to be linked to WPML String Translation, as indicated by the error log entry: /wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php.
Symptoms:
The site is down with a Fatal Error related to WPML String Translation on PHP 8.x. The debug log repeatedly references set_locale_from_session.
Questions:
Why does updating PHP above 7.4.33 cause the site to go down?
How can I resolve the Fatal Error related to WPML String Translation on PHP 8.x?
If you have the full critical error message you get when upgrading your PHP version, please share it with me.
Otherwise, if you require additional assistance with this, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ **IMPORTANT**
- - Please back up the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--
Also, if needed, please allow me to take a copy of your site. For this, I need to install a plugin like Duplicator or All-in-One Migration. Please let me know if you agree.
Regards,
Itamar.
The topic ‘[Closed] if update to php above 7.4.33 the site is down / Fatal Error with WPML String Translation on PHP 8….’ is closed to new replies.