Skip Navigation

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.

This topic contains 1 reply, has 2 voices.

Last updated by Mihai Apetrei 7 months ago.

Author Posts
October 29, 2024 at 6:01 pm #16343878

mark anderson

Background of the issue:
I am working on a site under development and trying to use WPML String Translation Version 3.2.14.

Symptoms:
WPML String Translation Version 3.2.14 causes the site to crash on PHP 8.0, 8.1, and 8.2. If I disable that plugin, PHP 8.x works fine and the site runs without problems.

Questions:
How can I resolve the site crash caused by WPML String Translation on PHP 8.x?

October 29, 2024 at 8:42 pm #16344228

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

Before this ticket gets assigned to one of my colleagues, I will try to help.

Do you somehow have the full fatal error message so that we can better understand what is happening?

Because, if you just see a blank screen or just a message saying "fatal error", that is a general error message and we can't know what is causing the error until we don't dig a bit deeper.

Let us share the steps that you can use to find out more about what is the actual error when you see a general error message like that one.

We can enable the WordPress debug log and recreate the issue to see if we are getting a longer error message that is more specific.

This will allow us to see if any PHP errors are being produced.

In order to do that, we can edit the wp-config.php file inside our WordPress directory and insert the following lines:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Now, we can try to reproduce the issue once again.

We should now be able to locate the debug log in: /wp-content/debug.log

Paste the content (if any) on a site like pastebin.com and then share the link with us (only you and us will see the URL you are sharing, it is automatically hidden for anyone else).

Relevant Documentation:
https://codex.wordpress.org/Debugging_in_WordPress

Please let us know how things go.

Mihai Apetrei

October 30, 2024 at 8:09 pm #16349089

mark anderson

Thanks, turns out it was a memory error. WP had 128M, needed 256M for php8 and WPML. All good now, appreciate it.