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
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 3 replies, has 1 voice.

Last updated by Shekhar Bhandari 1 week ago.

Assisted by: Shekhar Bhandari.

Author Posts
March 23, 2026 at 3:38 pm #17919374

hagenD

Our site was hit with an extremly slow backend and 502 errors for every action (deactive plugins, create coupon, delete customer, create a post, basically every random action you could do in the backend).

Logged in customers were not able to check out. Every logged in customer experienced 502 errors in checkout for all ajax-tasks.

Together with the hosting support we found out Multilingual CMS was causing the issue. A XRAY shows this.

Reactivating it directly causes 502 errors again, the first one shown directly after reactivation.

I tested it five times. Issue only occurs with Multilingual & Multicurrency active.

We now rolled back to an older version and the issue persists. After you activate Multilingual CMS, the checkout is throwing 502 erros, the backend gets extremly slow and is also showing 502 errors on every action.

You can find the XRAY PDF file from the hoster here:

hidden link

March 23, 2026 at 3:42 pm #17919395

hagenD

Please not that the plugins only appear as not updated because i rolled them back to older versions AFTER the issue occured.

The issue occurs also with all plugins up to date.

March 23, 2026 at 3:54 pm #17919487

hagenD

Technical Support Summary: Critical Performance Bottleneck

Issue: Severe backend latency (requests exceeding 16 seconds) leading to immediate 502 Bad Gateway errors via Cloudflare. This specifically breaks AJAX processes, such as the WooCommerce checkout for logged-in users.
Key Findings from X-Ray Monitoring:

Primary Bottleneck: The WPML (sitepress-multilingual-cms) plugin is responsible for 42.77% of the total execution time, adding roughly 7.19 seconds of overhead per request.

External API & API Logic: A significant portion of the load is tied to external calls via curl_exec (15.85%).

CachedATEAPI.php Impact: The report specifically identifies delays in call_user_func_array linked to WPML's CachedATEAPI.php, indicating that communication with the Advanced Translation Editor is a major factor in the slowdown.

Database Stress: WPML introduces heavy queries involving the wp_icl_translations table, which adds significant processing time even to standard functions like counting comments or loading navigation menus.

Secondary Load Factors: Other notable contributors include Query Monitor (15.39%) and Object Cache Pro (7.26%).

Conclusion:

The system is currently timing out because WPML’s internal logic and external API calls (specifically the ATE API) are taking too long to respond. This pushes the total request time beyond Cloudflare’s gateway limits, causing the 502 errors.

March 26, 2026 at 4:58 am #17927791

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello,

Thank you for contacting WPML support. I’d be happy to assist you with this issue.

Thank you as well for the detailed information. Since WPML is a multilingual plugin, it needs to connect and manage all available resources on your site to support multiple languages. Because of this, a resource increase of around 10–20% is expected. However, in your case, the increase appears to be significantly higher.

From the debug information you shared, I noticed that you are using PHP version 8.4.18. I recommend downgrading to PHP 8.3, as WPML is still being optimized for full compatibility with PHP 8.4.

Additionally, resource usage can sometimes be affected by conflicts between plugins. To help identify the root cause, I suggest the following steps:

- Create a staging site so we can safely test without affecting the live site
- Temporarily disable all non-WPML-related plugins and switch to a default theme, then repeat the same actions to check if the issue persists

I look forward to your reply.

Thanks