This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing random crashes with a 500 error page when browsing their site in English, with the main language being Latvian, after activating the 'Gift Cards For WooCommerce Pro' plugin by WP-Swings.
Solution:
We recommend trying the workaround provided in the following documentation: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/. This involves adding code to the theme's
functions.php
file. It is important to back up the database before making any changes.
If this solution does not apply to your situation, or if it is outdated, we encourage you to check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us 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.