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)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Shekhar Bhandari 1 year, 1 month ago.

Assisted by: Shekhar Bhandari.

Author Posts
July 19, 2024 at 1:55 pm #15978725

nathanB-9

Background of the issue:
I delete a menu in the default language. The nav_menu_item and _menu_item_url are deleted in the database for the default language. When I switch to another language in the menu section in admin, the menu is still present but all items disappeared. If I look in the database, I can still see nav_menu_item and _menu_item_url attached to the menu.

Symptoms:
After deleting a menu from the default language, the menu items in other languages disappear from the admin dashboard but remain in the database.

Questions:
Why do the menu items in other languages disappear from the admin dashboard after deleting a menu in the default language?
Why do the nav_menu_item and _menu_item_url remain in the database for other languages after deleting the menu in the default language?

July 22, 2024 at 4:40 am #15984567

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello Nathan,

Welcome to WPML support! 🙂

I've been able to replicate the issue on a fresh test site and have escalated it to our 2nd tier support for further insight.

I will update you as soon as I receive any feedback from them.

Thank you.

July 22, 2024 at 2:11 pm #15987341

nathanB-9

Awesome!

I appreciate your help!

Thanks a lot!

September 19, 2024 at 8:09 am #16196725

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

The issue is now escalated to our developers, in the meanwhile, can you try the following workaround and see if it helps.

- Go to WPML->Settings->Posts and pages synchronization and Disable "Copy taxonomy to translations" along with the options "When deleting a post, delete translations as well" and " When deleting a taxonomy (category, tag or custom), delete translations as well"

Let me know if this helps.

Thanks

September 19, 2024 at 5:35 pm #16200471

nathanB-9

Hi there,

Actually I do not remember on what site I spotted this issue a few months ago.
I wanted to report the issue as it seemed tp be a bug.
I might I've found another workaround but do not remember which one.

I trust your dev team will be able to fix this issue for the whole community.

Thanks for the follow-up

September 20, 2024 at 4:27 am #16201109

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Sure, I will update you once the issue is fixed.