This thread is resolved. Here is a description of the problem and solution.
Problem:
The client experienced a noticeable slowdown and layout issues with Elementor after installing WPML. Elements such as headers and footers disappeared or appeared broken, and styles like text colors were affected. The issues were resolved upon deactivating WPML.
Solution:
We initially suggested a WPML reset and reinstallation, which did not resolve the issue. After further investigation, we identified the problem was related to the PHP settings on the hosting environment, specifically the
pcre.backtrack_limit
configuration. We applied a workaround by adding the following code to the
wp-config.php
file:
ini_set("pcre.backtrack_limit", 10000000); ini_set("pcre.jit", 1);
This code increases the
pcre.backtrack_limit
and enables
pcre.jit
, which resolved the issue. More information about
pcre.backtrack_limit
can be found here.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the problem persists, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, please open a new support ticket in the WPML support forum.
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 15 replies, has 2 voices.
Last updated by 1 year, 4 months ago.
Assisted by: Long Nguyen.