This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing a '502 Bad Gateway' error and long loading times when trying to access the WPML Translation Dashboard after enabling automatic translation on a development site using the Consalt theme and Elementor.
Solution:
1. Increase the PHP Memory Limit to at least 256MB, preferably to 512MB. This adjustment can be made in the
wp-config.php
file or through the hosting provider's settings.
2. Temporarily pause automatic translation to reduce server load and attempt to access the dashboard.
3. If the issue persists, downgrade the PHP version to v8.1 or v8.2, update any outdated plugins or themes, and flush any existing cache.
4. Deactivate all plugins, including WPML ones, and switch to a default WordPress theme like Twenty Twenty. Then, insert the following code in the
functions.php
file of the active theme:
function wpmlsupp_1891_fix_missing_icl_tables() {<br /> if( function_exists( 'icl_sitepress_activate' ) )<br /> icl_sitepress_activate();<br />}<br />add_action( 'wp_footer', 'wpmlsupp_1891_fix_missing_icl_tables' );
5. After visiting the front page and allowing it to fully load, remove the code from
functions.php
. Reactivate the theme and plugins one by one to identify the culprit if the issue is resolved.
6. If problems continue, enable WordPress debug mode to identify any specific errors.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant 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. Should the problem persist, please open a new support ticket at WPML support forum 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 9 replies, has 0 voices.
Last updated by 2 days, 23 hours ago.
Assisted by: Carlos Rojas.