Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 12 replies, has 0 voices.

Last updated by Bobby 5 months, 2 weeks ago.

Assisted by: Bobby.

Author Posts
September 24, 2025 at 4:46 pm #17429773

katerinaA

Background of the issue:
I previously opened a ticket about a severe performance drop after 4–5 hours when WPML is enabled on my live site (hidden link). The ticket was closed before I could provide further details. I have set up a dedicated staging site at hidden link for safe testing and debugging.

Symptoms:
With WPML (4.7.6) enabled, the site runs fine initially. After about 4–5 hours, the site slows down dramatically and eventually becomes unreachable. Disabling WPML immediately restores normal performance.

Questions:
Could you please help me trace the cause of the degradation?
Would enabling WPML performance debug logs or running specific database cleanups help?

September 24, 2025 at 5:58 pm #17429992

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for creating the staging site!

It looks like the previous ticket was automatically closed, I've reviewed it and caught up to speed.

If possible, please update WPML and it's add-ons to their latest versions and let me know if that helps with the performance at all.

Also, let's increase the PHP time limit to 90 just to be safe as 30 can sometimes be too low for sites that have a lot of content.

Related documentation:
hidden link

October 1, 2025 at 10:18 am #17448098

katerinaA

Hello,

Thank you for your reply.

I would like to clarify that we are already running the latest versions of WPML (4.7.6) and its add-ons on both the live site (hidden link) and the staging site (hidden link).

Regarding the PHP time limit, it is currently set to 300, so that should not be the issue.

The problem persists: after 4–5 hours of WPML being enabled, the site slows down drastically until it becomes unreachable, while disabling WPML restores normal performance instantly.

Could you please advise on the next steps to trace the root cause (e.g. enabling WPML performance debug logs, database cleanup, or any other specific debugging method)?

Thank you,

October 1, 2025 at 11:09 pm #17450366

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

October 3, 2025 at 9:54 pm #17455476

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the access details!

I am currently not able to login, after I input the credentials it just reloads.

Also, note that 4.8.2 is the latest version of WPML so I'd highly recommend updating the plugin with the versions found here:
https://wpml.org/account/downloads/

Many times this has resolved performance. related issues.

Also, go to WPML->Support->Troubleshooting and run the actions:

"Cleanup and optimize string tables"

"Clear invalid strings" options.

"Remove ghost entries from WPML tables".

Also if possible, I'd implement object caching (Redis, W3TC, etc ) and page caching (wp rocket, etc)

October 8, 2025 at 10:11 am #17466677

katerinaA

Hi Bobby,

Thanks for the follow-up — you can log in now. If you still see a reload on the wp-admin form, use the “Login” button on the homepage and then visit /wp-admin/.

What’s done
Updated WPML core and all add-ons to 4.8.2.
Ran at WPML → Support → Troubleshooting:
Cleanup and optimize string tables
Clear invalid strings
Remove ghost entries from WPML tables
PHP time limit: 300. Stack: Nginx + PHP 8.3-FPM, MariaDB 10.11, timezone Europe/Athens (UTC+03:00).

Status
The issue persists on live after ~4–5 hours with WPML enabled (timeouts/504). Disabling WPML immediately restores normal performance.

On staging we haven’t reproduced it yet. Note: staging auto-clones from live daily at 06:00 Greece time (UTC+03:00).

Please proceed with your profiling and let me know if you need any specific logs enabled (e.g., WPML performance debug logs) or a particular MU/plugin to be added.

Thanks

October 8, 2025 at 10:04 pm #17469151

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

At the moment I am still not able to login to the backend, now it let's me know that my access details are wrong. (i did try going from /login to wp-admin but same results)

Also, you mentioned that the issue is not reproduced in the staging site?

For us to properly investigate we have to be able to reproduce the issue, if the staging site is not reproducing is it possible that this is server related?

is your staging site on a different server?

October 14, 2025 at 8:15 am #17482269

katerinaA

Hi Bobby,

Thanks for the follow-up.

Access
The login issue is now resolved. You can access the staging backend normally. If /wp-admin/ ever reloads, you can also use the front-end “Login” button and then go to /wp-admin/.
(I’m not re-posting credentials here for security; they’re the same as the private message above.)

Scope of investigation
I’m providing the staging environment so you can check whether there is anything in WPML’s operation—on its own or in combination with other plugins and our custom code—that could lead to the degradation we see on live. The staging is on a different server than live and is auto-cloned daily at 06:00 (Europe/Athens, UTC+03:00).

Reproduction constraints
We haven’t been able to reproduce the slowdown on staging yet. On live, there isn’t a precise time when it starts; after some hours under real traffic the site deteriorates (504/timeouts), and very quickly the server becomes unreachable, so capturing data in the moment is hard.

Proposal to move forward

If you can simulate traffic/load on staging for a sustained period, we might be able to trigger the issue. I’m happy to keep staging running under that load window as long as you need.

I can enable WPML performance logging and any additional debug you recommend (MU plugin, Query Monitor, Debug Bar, DB query logging, etc.). Please let me know what exactly you want enabled and I’ll switch it on immediately.

Environment on staging: Nginx + PHP 8.3-FPM, MariaDB 10.11, WPML 4.8.2 (core & add-ons). We already ran the WPML → Support → Troubleshooting tools you suggested.

If there’s a specific profiling checklist or a small MU-plugin you prefer for capturing slow queries / cache misses related to WPML, feel free to install it on staging and I’ll keep an eye on it while you run tests.

Thanks again—happy to follow your lead on the next steps.

Best,

October 15, 2025 at 5:47 am #17485641

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the above information, however, I am afraid that logging in is still an issue. (test with both wp-admin and login area)

That said if we can't reproduce the issue it's near impossible for our team to test performance issues as I am sure you can see your self from your own tests performance issues require you to reproduce before debugging.

Please install Query Monitor on the live site (deactivate when not debugging, this plugin is resource intesive) and share with me the number of duplicated queries if any logged (a screenshot would be great, also review them and let me know if any of them are coming from WPML, please. )

Also, share with me please the WP Error Log if one is created.

October 21, 2025 at 11:37 am #17502765

katerinaA

Hi Bobby,

Understood. Since we can’t reproduce this on staging, we’ll proceed on live exactly as you suggested.

Plan on LIVE (next slowdown window):

Install and briefly enable Query Monitor (only during the incident), then deactivate it right after.

Capture and share screenshots of:

Queries → Duplicates (with the Component column visible, to see if any are from WPML or its add-ons).
Queries sorted by time (slowest first).
HTTP API Calls (in case any remote calls are looping).

Provide the WP error log. We’ll enable logging (only during the test) with:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

We’ll then grab the relevant portion of /wp-content/debug.log (sanitized for sensitive paths) and share it.

Context we’ll include with the report:

Exact URLs profiled (homepage, taxonomy archives, product pages, etc.).

Timestamps (Europe/Athens, UTC+03:00) and a note on traffic levels when the issue occurred.

A brief server health snapshot (CPU/RAM/DB connections) to separate infra load from app-level symptoms.

If there’s any MU plugin or additional Query Monitor configuration you prefer to capture more signal (e.g., deeper duplicate-query breakdown), let me know and we’ll add it before the next window.

Thanks

October 23, 2025 at 5:35 pm #17513690

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you, that would be great!

Would access for our team to your live environment be possible? It would be good if we could also review it without making any changes to your site.

October 31, 2025 at 7:20 am #17534820

katerinaA

Hi Bobby,

Thank you for your reply.

Yes — you can access the live environment using the same credentials previously shared privately for the staging site.
No configuration or data changes are needed; feel free to review and monitor performance as required.

We’ll also collect and share the data you requested (Query Monitor screenshots, error log, and server metrics) as soon as the next slowdown occurs.
Since we can’t keep WPML enabled continuously on production due to the performance impact, we’ll enable it during specific low-traffic periods to reproduce the issue safely.

Please let me know once you’ve been able to log in successfully.

Best,

November 3, 2025 at 7:43 pm #17543298

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the access details and please also share with us any additional reports you might have gathered.

If possible please update all WPML plugins as the latest versions are significantly better for performance and have received performance updates since 4.7.6

The topic ‘[Closed] Severe performance drop after 4–5 hours with WPML enabled (staging site available)’ is closed to new replies.