Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are experiencing severe performance issues on your site, particularly on product listing and detail pages, due to a high number of requests. This is causing server overload, timeouts, and database connection issues.
Solution:
The performance problems are linked to errors from two specific plugins: the Health Check & Troubleshooting plugin and the WooCommerce Cart Abandonment Recovery plugin. These errors are not caused by WPML. We recommend deactivating the Health Check & Troubleshooting plugin as it is no longer maintained. You should also consider replacing the WooCommerce Cart Abandonment Recovery plugin since it is not officially compatible with WPML. For more details on the error related to these plugins, please visit this link.

If this solution does not resolve your issue or seems outdated, 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.

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 8 replies, has 1 voice.

Last updated by kisa 1 day, 22 hours ago.

Assisted by: Itamar.

Author Posts
July 24, 2025 at 2:41 pm #17268149

kisa

Background of the issue:
I am experiencing serious performance issues on my site related to WPML. On the product listing (archive) page, there are around 640 requests, and on the product detail (single) page, there are around 70 requests. This is creating a heavy server load and contributing to timeouts and database connection issues.

Symptoms:
Very high number of requests from WPML causing server overload, leading to timeouts and database connection issues.

Questions:

July 24, 2025 at 4:04 pm #17268562

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for reaching out to WPML support. While one of my colleagues picks up this ticket, I’d like to provide some initial debugging steps and see if I can assist you right away.

There are a number of steps that can help improve performance, and this ticket https://wpml.org/forums/topic/how-can-i-improve-performance-of-a-slow-site/ includes a checklist you can follow to make your site faster.

Also, referring to this documentation https://wpml.org/faq/how-to-debug-performance-problems/ please install Query monitor plugin and share with us the results for the backend:

- currently, as you use your website
- when WPML is disabled
- when other plugins are disabled and using only WPML plugins

Please make sure to create a backup, before doing any actions or better test this on the staging site, just in case.

July 24, 2025 at 5:31 pm #17268857

kisa

Hello,

Thank you for your reply.
We were able to make some adjustments and installed the Index WP MySQL For Speed plugin, as suggested in the link you provided.

Unfortunately, the issue remains the same — we are still experiencing a very high number of queries and server overload, especially on listing and product pages.

As requested, please find attached aQuery Monitor screenshots from the back-end for your review.

The attached screenshot is a capture from the backend using Query Monitor.
Please note that the screenshots we shared in our first message were from the frontend, and the number of queries there is actually even higher.

At this stage, we are planning to set up a staging site where we can safely test things further by disabling plugins one by one, as recommended.

Let us know if there’s anything else we can do to further optimize WPML’s performance or reduce unnecessary queries.

backend-extensions.png
July 24, 2025 at 6:12 pm #17268989

kisa

For your information:
We quickly tested the requests with WPML enabled, and then with WPML disabled.

Shop Page: 737 requests vs. 47 requests

Listing Page: 1213 requests vs. 58 requests

Contact Page: 124 requests vs. 56 requests

July 28, 2025 at 8:56 am #17274212

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'll continue to help you with this issue.

If you require additional assistance with this, please share the access details to your site with me. Please let us know where and how to view this performance issue. In other words, where should we go to see the slow queries? Additionally, if necessary, please allow us to modify the theme and deactivate or install plugins. If you have a staging site where we can view this issue, please share access with us. I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

July 28, 2025 at 10:13 am #17274510

kisa

Hello,

Thank you for your assistance.

We are currently having some difficulty creating a demo site. In the past, we were able to easily create one through the cPanel of our hosting provider, but unfortunately, that service is not working at the moment. If you could help us with this issue or suggest an alternative method to set up a demo site, we would greatly appreciate it.

Regarding the performance issue, it is mainly occurring on the listing page, the detail page, and the homepage. If you could guide us on where to check the slow queries for these specific pages, it would be very helpful.

Please let us know if you need any further information from our side.

Best regards,

July 29, 2025 at 6:55 pm #17280121

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I've reread this guide and see you already wrote the following regarding where to see the problem:

On the product listing (archive) page, there are around 640 requests, and on the product detail (single) page, there are around 70 requests.

Let's check for PHP errors. Please share with us WordPress's debug log (not WPML debug information). You can check this page for instructions.

https://wpml.org/documentation/support/debugging-wpml/

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 product listing (archive) page and the product detail (single) page. The errors, if there are any, will be saved to a debug.log log file inside the /wp-content/ directory. Then please share the errors with us. Please only share the errors from the time you proceeded with this check.

Regards,
Itamar.

July 30, 2025 at 1:13 pm #17282264

kisa

Hi Itamar,

Thank you for your message.

I’ve just enabled WordPress debugging as instructed by modifying the `wp-config.php` file. I’ve also visited both the product listing (archive) page and the product detail (single) page to replicate the issue.

Here are the debug.log errors: hidden link

Best Regards

July 31, 2025 at 8:10 pm #17286656

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Thanks for sharing the debug.log with me. There are many repetitive errors of this kind: _load_textdomain_just_in_time. This problem is what causes the performance issue on your site; however, it is not due to WPML. We explain about this error here:
https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/

The errors come from two plugins you are using: the Health Check & Troubleshooting plugin and the WooCommerce Cart Abandonment Recovery plugin. The Health Check & Troubleshooting plugin is not maintained, so I suggest you stop using it. The WooCommerce Cart Abandonment Recovery is not officially compatible with WPML. So it might cause problems.

Regards,
Itamar.

August 3, 2025 at 4:33 pm #17291152

kisa

Hi,

Thank you very much for your detailed response and for checking the debug log.

You were right — the issue was indeed coming from those two plugins. We've now deactivated the Health Check & Troubleshooting plugin, and we're evaluating alternatives to the WooCommerce Cart Abandonment Recovery plugin due to the compatibility concerns.

Really appreciate your help and the useful link you shared!

Best regards