Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing issues with menu synchronization in WPML, where the menu no longer retains the position of categories after translating from Romanian to Russian, and updating plugins and clearing caches hasn't resolved the issue, follow these steps.
Solution:
1. Access your database manager, such as PhpMyAdmin.
2. Navigate to the

wp_options

table.
3. Search for and delete the following keys:
- WPML(setup)
- icl_sitepress_settings
4. Go to your site's dashboard.
5. Configure WPML again.
6. Check the WP Menu Sync function.

Please ensure to back up your database before performing these steps to prevent any potential data loss.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket.

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.

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by andreiV-8 1 week ago.

Assisted by: Osama Mersal.

Author Posts
January 22, 2025 at 9:53 am #16621910

andreiV-8

<b>Background of the issue: </b>
I synchronized the menu from Romanian to Russian using WPML on my site hidden link.

<b>Symptoms: </b>
The menu no longer retains the position of the categories in Russian; it looks strange.

<b>Questions: </b>
What can I do to fix the menu synchronization issue?

I updated the plugins to the latest version and cleared all caches. The issue is not resolved.

January 22, 2025 at 12:32 pm #16622873

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Please share a screenshot of what you see when you try to Sync menus via WPML-> WP Menu Sync to help me understand the issue better.

Best regards,
Osama

January 22, 2025 at 12:48 pm #16622931

andreiV-8

Video: hidden link
Printscreen in attach.

screencapture-stage-homeitaly-md-wp-admin-admin-php-2025-01-22-14_41_14.jpg
January 22, 2025 at 12:56 pm #16623010

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the video. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

January 22, 2025 at 2:06 pm #16623532

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I installed a local copy of your site to debug the issue, and there seems to be a corrupted database record.

I was able to fix the issue on my local copy by the following steps:

1- Open your database manager, for example, PhpMyAdmin
2- Go to the "wp_options" table
3- Search for the following key and delete them
* WPML(setup)
* icl_sitepress_settings
4- Go to your site's dashboard
5- Configure WPML
6- Check the WP Menu Sync function

❌Please backup your database before performing the above steps❌

Best regards,
Osama

January 22, 2025 at 2:35 pm #16623711

andreiV-8

I deleted "icl_sitepress_settings," completed the configuration in the admin, ran WP Menu Sync, but the issue is not resolved. 🙁

hidden link

January 22, 2025 at 3:16 pm #16623914

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the video. Please delete both of the keys.

* WPML(setup)
* icl_sitepress_settings

Best regards,
Osama

January 22, 2025 at 3:28 pm #16623976

andreiV-8

Oh sorry,

i delete both keys but don't work: hidden link

January 22, 2025 at 9:03 pm #16625100

andreiV-8

Problem solved

Solution:

1- Go to WPML-> Settings-> Custom Fields Translation section
2- Click "Show System Fields"
3- Search for " _menu_item_menu_item_parent"
4- Set the the field to "Don't Translation" and save
5- Edit the menu in the default language and update it
6- Sync the menus

Thank you very much.