This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing intermittent 500 Internal Server Errors on pages in English and Italian. The errors often resolve upon refreshing but recur and worsen over time. The client suspects issues with the wp_icl_strings or wp_icl_string_translations tables, or a server resource limit being exceeded during translation lookup. The string scan hangs indefinitely, indicating a potential connection to the errors.
Solution:
We recommended checking the .htaccess file for any incorrect or duplicate entries that might be causing the issue. Specifically, we advised removing duplicate '# BEGIN WordPress' blocks and ensuring that custom rewrite rules for different language versions of /wp-login.php are correctly configured. Additionally, we suggested following the steps outlined in our documentation to prevent .htaccess from being overwritten with the language folder, which can be found here: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/
If this solution does not resolve the issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket for further assistance.
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 5 replies, has 1 voice.
Last updated by 1 month, 2 weeks ago.
Assisted by: Andrey.