Skip Navigation

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.

This topic contains 2 replies, has 1 voice.

Last updated by Earle Davies 3 months, 3 weeks ago.

Author Posts
January 4, 2025 at 5:05 pm #16563671

Earle Davies

Background of the issue:
I am trying to use Object Cache Pro with WPML, but there seems to be an incompatibility that breaks the admin menus. I set up a site with object caching enabled and the Object Cache Pro plugin, created multiple languages, and used the WPML Menu Sync feature to sync menus. Clearing the object cache temporarily restores the menus. Several others have reported this issue on the forums: https://wpml.org/forums/topic/wpml-menus-conflicting-with-object-cache-pro/, https://wpml.org/forums/topic/translating-the-menus-is-not-working/page/2/, https://wpml.org/forums/topic/menu-is-displayed-only-in-one-language/.

Symptoms:
The dropdown for 'Menu:' displays the same menu duplicated multiple times instead of allowing me to edit the translated version. Clearing the object cache temporarily fixes the issue, but it reverts back to the broken state.

Questions:
How can I resolve the incompatibility between Object Cache Pro and WPML?
Is there a permanent solution to prevent the admin menus from breaking?

January 6, 2025 at 11:43 am #16566216

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let's try the workaround provided below.

We have an errata here https://wpml.org/errata/object-cache-pro-various-issues/ could you try using the "plugin" as explained here https://wpml.org/forums/topic/object-cache-pro-causing-wpml-issues/page/3/#post-16529233 to see if it helps?

January 7, 2025 at 1:54 am #16567866

Earle Davies

I checked the errata but none of those apply to the problem that myself and the other forum posts I sent. I added the code from the workaround and will monitor to see if the issue comes back.

The topic ‘[Closed] Object cache pro / WPML breaking admin menus’ is closed to new replies.