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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

Tagged: 

This topic contains 20 replies, has 1 voice.

Last updated by Kor 1 week, 5 days ago.

Assisted by: Kor.

Author Posts
August 1, 2025 at 2:23 pm #17288691

justinK-16

Apart from Cloudflare caching, which affects a completely different layer of caching to Redis, the only other Caching Plugin we use is WP Rocket.

I understood that WPML and WP Rocket are officially 100% compatible.

Also, WP Rocket and Redis perform completely different jobs, so they cannot conflict.

I can try turning off WP Rocket and performing another test, but apart from slowing down our site, it should have no effect on Redis or WPML.

Do you still recommend disabling WP Rocket?

August 1, 2025 at 2:31 pm #17288727

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. Yes, please perform a test. I've checked further, and this is the only known issue with Redis Object Cache https://wpml.org/errata/redis-object-cache-theme-plugin-localization-scan-only-localizes-new-strings-after-clearing-object-cache/ . But I don't think it matters here since you're not facing any issues with String Translation.

August 1, 2025 at 2:40 pm #17288758

justinK-16

Ok, I will create another post and go through the motions with WP Rocket disabled and Redis active.

I will aim for tomorrow or, worst case, Monday to test everything and get back to you.

I might even be able to add a quick post to the staging site and test it there, although last week I could not make it fault....and it was a mirror clone of the site

Have a nice weekend 🙂

August 1, 2025 at 2:41 pm #17288761

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

ok, let me know how it goes. Happy Weekend.

August 9, 2025 at 10:33 am #17306722
justinK-16

Hi Kor

I have spent the last week adding directory listings and new posts, and the issue continued to occur. (i have not had the above issue happen to the couple posts I added but this time translated directory listings have the Language switcher not appearing for translated listings and in addition, when updating a Listing translation, I almost EVERY time now get a Server time out 524 error. I haven't seen this when performing any other tasks.

I have deactivated WP Rocket as suggested, and this did not change anything.

Again, if I deactivate Redis and then all works well, IF I first go through the WPML > Support > Troubleshoot > Clean up and click on the buttons you previously recommended.

The 524 error does not stop happening whether Redis or WP Rocket is off or not, it happens every time i translate a post using the WordPress editor and then clicking Update.

As I was getting 524 errors - I checked with our hosting provider, and they mentioned this:

Translation plugin cache issues might be related to:

Keys not expiring properly (only 260 keys across all databases have TTL set)
Application-level caching logic problems
Race conditions in cache invalidation

Can this be looked into further? It seems to point to Redis or WPML or both.

New threads created by Kor and linked to this one are listed below:

https://wpml.org/forums/topic/wpml-not-working-correctly-with-redis-cache/

August 11, 2025 at 1:00 am #17308020

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. I'll split your ticket here https://wpml.org/forums/topic/wpml-not-working-correctly-with-redis-cache/ so that we can focus on this issue. As for this ticket, I will close it for now.