[Closed] Translations are stuck in progress when using Redis Object Cache
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.
No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Recently, I updated Redis Object Cache on my blog. And only today I realized that none of the recent 80+ translations made it entirely through. All these translations are stuck in progress. Today, I disabled Redis Object Cache, and less than an hour later, all translations were properly updated. So, WPML does not work at all with Redis Object Cache 🙁
Is there any way to make WPML work with Redis Object Cache? This would be great for my server.
Thank you for contacting the support forum.
Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.
The problem could be something else. Could you please send some pages for testing again and then send us this information:-
#1 Go to WPML > Support > Advanced Translation Editor and see if there are any error logs. Then please send us a screenshot of it.
#2 Go to WPML > Support > Installer Support and send us the screenshot of it too.
The problem could be temporary. Object caching ofter resolved after clearing the cache and does not come again.
I have enabled Redis Object Cache again, and I have just made a bunch of translations (20+). I can see that six translations are stuck in progress. Before that, with Redis Object Cache disabled, I did many translations and found no issues.
1) There is no error in the logs for today
2) Nothing interesting there. I have attached the screenshot.
I waited 2 hours and still found all six translations stuck. Then, I tried to get translations with ATE again for every six articles without success. I have tried flushing the cache (which should not be necessary!) and submitting again the six translations, but this changed nothing.
After that, I disabled the Redis cache and submitted all six translations again with ATE, and they all went through without issues, and now everything is translated.
Thank you for contacting WPML support, I'd be happy to help you with this issue.
Can you please enable a minimal environment as below to see if it helps?
- Deactivate all plugins except WPML
- Switch to a standard theme of WordPress
- Disable Cloudflare cache or disconnect with Cloudflare
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
That means there is no conflicting issue between WPML and Redis Object Cache. The issue happens could be two reasons:
- There is a conflicting plugin/block of code
- Something wrong with the hosting while enabling Redis Object Cache
If you are not able to enable a minimal environment or setup a staging site, I recommend contacting your hosting support to monitor the issue if there is anything wrong while the translation is delivered to your site.
I can help you to set up a staging site with a fresh install of WordPress and WPML. Then you can check this issue there.