This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing a 'White Screen of Death' and a critical error after adding Arabic as a new language to their website using WPML on the Woodmart theme. The error was identified as an E_COMPILE_ERROR in a WooCommerce wishlist email class, indicating a conflict due to the class 'Back_In_Stock_Email' being declared twice.
Solution:
We investigated the issue and found that the error was due to a translation string (%1$s – %2$s) being incorrectly translated into Arabic, which should have retained the same order as in the original language. We corrected the translation, and the site now functions correctly without the error. If you're experiencing similar issues, we recommend checking your translation strings for accuracy and ensuring they maintain the same variable order as the original.
Please note that this solution might be outdated or not applicable to your specific 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 the problem persists, please open a new support ticket.
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 0 replies, has 1 voice.
Last updated by 3 weeks, 3 days ago.
Assisted by: Dražen.