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?
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:
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).