Background of the issue:
I'm using Object Cache Pro on my website and I have some issues with WPML. My main language is French, and I see multiple times the same menus. In the other languages, I see no menus. When I disable Object Cache Pro, it's back to normal. I contacted support yesterday and they told me to add this mu-plugin: https://wpml.org/forums/topic/new-translations-fail-to-appear-on-a-page/page/6/#post-15270176. It solved the issue at the beginning but today the issue is still there, so maybe we're missing some entries to exclude?
Symptoms:
Multiple instances of the same menus in the main language (French) and no menus in other languages when Object Cache Pro is enabled.
Questions:
Are we missing some entries to exclude to resolve the issue with WPML and Object Cache Pro?
I understand the issue you're facing. Could you clarify if the French menu has been translated into the other language and whether the translated menus are appearing in the French version, or are you only seeing the French menu multiple times in the French version?
If you're only seeing the French menu multiple times on the frontend, the issue could be related to the theme or customizations made in the child theme. In that case, it would be best to consult the theme author or support, as WPML doesn't seem to be causing the issue here.
However, if you notice the translated menus appearing in the French version, or if the translated menus are not showing in other languages due to object caching, it's possible that the navigation menus are part of a different cache group managed by the theme. In one of your screenshots, I noticed a cache group named 'Bricks'. Could you try adding that group to the non-persistent cache group and see if it helps resolve the issue?
If the issue persists, it would be better if you could replicate the issue in our sandbox environment. You can use the autologin link below to access it.
- hidden link
WPML and the necessary add-ons are already installed in the sandbox. Please go ahead and install the Bricks theme and the Object Cache plugin, then configure them the same way you did on your main site. After that, check if you can replicate the issue.
If you're able to replicate the issue, please let me know, and I'll take a closer look to advise on the next steps. This will also allow us to escalate the issue to our 2nd tier team if required.
I hope you can understand. Please let me know the update. I'll be happy to help if you need further assistance in this matter.
Best regards,
Prosenjit
The topic ‘[Closed] WPML Menus conflicting with Object Cache Pro’ is closed to new replies.