This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're implementing a website using WooCommerce and WPML and notice that the admin panel is slow, particularly when accessing WooCommerce → Products, where a large number of queries are reported, including many duplicates primarily from WPML_Translation_Job_Factory->retrieve_job_data(), resulting in slow page load times.
Solution:
We recommend increasing the WordPress memory limit to at least 256MB. You can do this by adding the following line to your wp-config.php file:
/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');Add it above the line /* That's all, stop editing! Happy blogging. */
After increasing the memory limit, update your WPML plugins via Plugins -> Add new -> Commercial tab. You might need to click on the button to search for updates. Once updated, check if the issue with the admin panel speed has improved.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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. If problems 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.