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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Bobby 1 year ago.

Assisted by: Bobby.

Author Posts
June 26, 2024 at 9:24 pm #15837248

Randy Stark

<b>Background of the issue: </b>
I am trying to access the dashboard and plugins list on my WordPress site hosted on WPEngine. The issue started after upgrading to PHP 8.2 on the Production instance. The Staging instance, which is on PHP 7.4, works perfectly.

<b>Symptoms: </b>
I am getting Bad Gateway timeouts when trying to access the dashboard or plugins list on the Production instance. After reverting to PHP 7.4, it works fine.

<b>Questions: </b>
Why am I experiencing Bad Gateway timeouts on the Production instance with PHP 8.2?
Is there a compatibility issue between WPML Multilingual CMS plugin and PHP 8.2?
What steps can I take to resolve this issue while using PHP 8.2, or just stay at 7.4 until you resolve it?

June 26, 2024 at 10:35 pm #15837554

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

Please increase your WP Memory Limit to 256M or higher, currently it's set to 40M.

Also, share with me your error log to check if any other errors were logged.

You can see how to enable debug logging here:
https://wpml.org/documentation/support/debugging-wpml/

Go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
define('WP_DEBUG', true);

Edit your wp-config.php file and add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . 'https://cdn.wpml.org/error_log.txt');

This will create an error_log.txt file in your site's root directory. Please send me its contents.

The topic ‘[Closed] WPML Multilingual CMS plugin – bug with .php 8.2’ is closed to new replies.