Skip Navigation

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

Problem:
The client used WPML's Automatic Menus Sync and noticed that the English "Home" menu item shows an error that the translation doesn't exist. The page was already translated and the translation is accessible.
Solution:
The Homepage menu item points to an untranslated page in the default menu. It was fixed with the following steps:
1. Remove the current "Home" item from the menu.
2. Add the correct homepage to the menu.
3. Rerun the menu synchronization process.
If this solution does not seem relevant to your issue, please feel free to open a new support ticket with us.

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 6 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 3 months ago.

Assisted by: Mohamed Sayed.

Author Posts
December 26, 2023 at 7:33 pm #15130804

jaroslawS-11

I use Automatic Menus Sync by WPML. I translate from PL to EN language. EN version of site - no "home site"

Zrzut ekranu z 2023-12-26 20-20-59.png
Zrzut ekranu z 2023-12-26 20-20-01.png
Zrzut ekranu z 2023-12-26 20-24-55.png
Zrzut ekranu z 2023-12-26 20-24-35.png
December 26, 2023 at 9:35 pm #15130967

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

1. Please increase the WordPress Memory Limit. According to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

2. Kindly try the following steps to update the page translation:

- Edit the original page
- Make a small change and save it
- Update the translation

Once the above steps are done, run the menu sync again and check if the issue is resolved.

Let me know please if that helps.

Kind regards,
Mohamed

December 27, 2023 at 10:41 am #15131660

jaroslawS-11

I have done (1 and 2), but it still doesn't work correctly. I added a new text block on home page.

I noticed that sometimes the translation status icon for the "home page" changes automatically even though the translation is 100% complete.
The icon changes from (The content is already translated, and the translation is up-to-date) to the icon (The content is translated, but the translation needs updating, and a new translation is already in progress)

Zrzut ekranu z 2023-12-27 11-34-43.png
December 27, 2023 at 11:27 am #15131877

Mohamed Sayed

Please create a full backup of the database and website then go to WPML > Support > Troubleshooting page, and click the following:

- Clear the Cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML table collation
- Synchronize local job ids with ATE jobs
- Synchronize translators and translation managers with ATE
- Set language information
- Fix post type assignment for translations

Then update the translation if needed and check if the issue is resolved.

December 27, 2023 at 4:59 pm #15132940

jaroslawS-11

I have done everything, but it still doesn't work correctly.

December 27, 2023 at 7:25 pm #15133274

Mohamed Sayed

I would need to request temporary access (WP-Admin and FTP) so I can investigate this issue further.

– preferably to a test site where the problem has been replicated if possible –

Your next answer will be private, which means only you and I have access to it.

❌ Please backup your database and website before providing us with access details ❌

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.

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

If you don't see the form below, please don't add your credentials as they will be publicly exposed:
hidden link

Privacy and Security when Providing Debug Information for Support:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Thanks for your cooperation

December 28, 2023 at 9:37 am #15133975

Mohamed Sayed

Thanks for providing the access details.

This issue happens because you're adding the wrong page as a menu item. The current "Home" item points to an Elementor template, not the homepage.

Please edit the menu in the default language, remove the Home item, and select the correct page. Then run the menu sync again.

Monosnap Snapshot 2023-12-28 11.31.23.png
Monosnap Menus.png
December 28, 2023 at 10:37 am #15134160

jaroslawS-11

I have worked on base template, so mayby is problem with compatibility wpmp to betheme.