Background of the issue:
I was trying to update to WPML 4.8.4, but after the update, we started experiencing severe slowdowns and UI freezing in both WordPress admin (prod), dev environment, and local env. The issue is similar to what is described in this ticket: https://wpml.org/forums/topic/wpml-4-8-4-freezes-admin-interface/. After some investigation, we found that it's a known problem and many users have the same issues.
Symptoms:
The interface freezes when I try to edit content in any WPML-related screen or a WPML-translated page/post. The input becomes unresponsive for several seconds when placing the cursor inside editable fields. No error messages appear in the browser console, and PHP logs do not show WPML-related errors. Downgrading the plugin resolves the issue.
Questions:
Do you have the solution to this problem?
This ticket has been inactive for quite a while. I didn't get a reply from you. So, I've transformed this chat into a support ticket because you may still need our help.
After your last comment in the chat, I suggested the following.
If the problem persists, please share the WordPress debug log (not WPML debug information).
Please check this page for instructions.
To enable it, open your wp-config.php file and look for
define('WP_DEBUG', false);
Change it to:
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);
After this, repeat the action that causes the problem on your site - visit the admin pages that get frozen. In this case, the errors will be saved to a debug.log log file inside the /wp-content/ directory. Then please share the errors with us. If the debug.log was already active, please only share the error you encountered during your test to keep the log concise and avoid unrelated errors.
You might also find errors in the browser's console that indicate the problem. If you find any, please also share them with us.