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).
Thanks, turns out it was a memory error. WP had 128M, needed 256M for php8 and WPML. All good now, appreciate it.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.