Skip Navigation

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

Problem:
The client is experiencing issues with duplicating products when synchronizing menus between languages using WPML. Specifically, 18 products appear instead of 15, with some products duplicated. Deleting products on the Spanish language page and synchronizing again causes the products to reappear.
Solution:
1. To address the duplication issue:
- Go to Appearance -> Menus -> Switch to the secondary language -> Select the menu where the duplicated products appear.
- Remove the duplicated products from the translated menu.
- Save the changes.
- Double-check if the issue disappeared.
2. To address potential compatibility issues with the PHP version:
- Contact your hosting provider and request to downgrade the PHP version. The current version 8.4.3 may not be fully compatible with all plugins and themes. We recommend downgrading to PHP v8.0 or v8.1.

If this solution does not resolve your issue or 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 problems 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 3 replies, has 0 voices.

Last updated by Marcel Elbers 3 days, 3 hours ago.

Assisted by: Carlos Rojas.

Author Posts
January 29, 2025 at 3:49 pm #16647643

Marcel Elbers

Background of the issue:
I am trying to synchronize menus between languages on a site under development using WPML. I am doing this via Appearance > Menu > Synchronize menus between languages.

Symptoms:
Synchronizing menus between languages leads to 18 products appearing in the menu on the front page, but there should only be 15. Some products are duplicated. Deleting products on the Spanish language page and synchronizing again causes the products to reappear. The synchronizing page only shows 15 products.

Questions:
How can I delete the double products from the menu and prevent products from being duplicated when synchronizing menus between languages?
How can I ensure the products remain in alphabetical order in the translations?

January 30, 2025 at 1:11 pm #16651729

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

1.- In this case I would recommend following these steps:
- Go to Appearance -> Menus -> Switch to the secondary language -> Select the menu where the duplicated products appear
- Remove the duplicated products from the translated menu
- Save the changes
- Double-check if the issue disappeared

2.- Please contact your hosting providers and ask them to downgrade the PHP version. The actual PHP version is 8.4.3 and not all plugins and themes are compatible with this version. I recommend to downgrade to v8.0 or v8.1

Regards,
Carlos

January 30, 2025 at 3:39 pm #16652691

Marcel Elbers

Hello Carlos,

This:
- Go to Appearance -> Menus -> Switch to the secondary language -> Select the menu where the duplicated products appear
- Remove the duplicated products from the translated menu
- Save the changes
- Double-check if the issue disappeared

solves the problem however if we synchronize again we get double products in the menu.

You suggest this is due to the high php version?

Thank you,
Marcel

January 31, 2025 at 10:45 am #16655022

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi Marcel,

1.- Does the issue persist if you create a new test menu and sync it?

2.- Yes, the PHP version is not fully compatible with the WordPress core and many other plugins/themes, that's why I recommend downgrading it

January 31, 2025 at 1:44 pm #16655870

Marcel Elbers

ok thanks I did a other synchronisation and now everything is correct. thank you.