Background of the issue:
I am trying to update the WPML plugins on my site, but I am encountering issues with the String Translation plugin. I have managed to update the WPML main plugin and the Media translations plugin, but the String Translation plugin keeps breaking my site. I have tried older versions, but nothing is working. Parts of my French site are in English. The issue can be seen at: hidden link.
Symptoms:
I get a WordPress Database error that says: 'There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.'
Questions:
Why does the String Translation plugin break my site after updates?
How can I resolve the database errors caused by the String Translation plugin?
From the debug information, I noticed your current WP Memory Limit is set to 40M. It should be at least 128MB. You can increase it by editing your `wp-config.php` file and adding the following line before this one: `/* That's all, stop editing! Happy publishing. */`
If you still experience the issue after updating and increasing the memory limit (especially if there's a fatal error), follow these steps:
1. Edit `wp-config.php` and insert the following lines just before `/* That's all, stop editing! Happy publishing. */`:
2. Reproduce the issue.
3. Locate the debug log at `/wp-content/debug.log`.
4. Copy and paste the latest 10 lines from that file here (no need to share the full log), and be sure to remove or censor any sensitive information.