Skip Navigation

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

Problem:
You are experiencing a critical error on pages with translations after upgrading to PHP 8.X, specifically PHP 8.2, despite using the latest version of WPML.
Solution:
We are aware of this issue and it has been reported to our development team. For updates and more detailed information, please follow the discussion on our forum: https://wpml.org/forums/topic/fatal-error-with-wpml-page-builders-and-elementor-on-php-8-2/.

If this solution becomes irrelevant due to updates or if it does not resolve your specific case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket or visit our support forum at https://wpml.org/forums/.

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 1 replies, has 1 voice.

Last updated by Andrey 1 month, 1 week ago.

Assisted by: Andrey.

Author Posts
May 6, 2025 at 8:40 am #17000098

antonioC-92

Background of the issue:
I need to upgrade the version of PHP to 8.2 at least because some plugins stopped working. When I do that, starting with version 8.0 I get a 'critical error' only on pages with a translation. I have looked at the logs and the problem is clearly WPML which I have installed in the latest version available. The site that needs help is hidden link.

Symptoms:
Critical error when upgrading to PHP 8.X, specifically on pages with a translation.

Questions:
How can I fix the critical error that occurs with WPML when I upgrade to PHP 8.X?
Are there specific WPML settings I need to change to support PHP 8.2?

May 6, 2025 at 9:44 pm #17003755

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

A colleague of mine has already reported this issue to our development team. He will provide you with updates as soon as he has more information here: https://wpml.org/forums/topic/fatal-error-with-wpml-page-builders-and-elementor-on-php-8-2/