Skip to content Skip to sidebar

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
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

Tagged: 

This topic contains 1 replies, has 0 voices.

Last updated by Itamar 7 months ago.

Assisted by: Itamar.

Author Posts
October 18, 2025 at 10:01 am #17495645

peterm-47

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?

October 19, 2025 at 2:22 pm #17496975

Itamar
WPML Supporter since 02/2016

Languages: Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

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.