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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Vienna (GMT+01:00)

Tagged: 

This topic contains 17 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 1 day, 8 hours ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
November 3, 2025 at 2:58 pm

larryL-9

Background of the issue:
I am trying to edit the menu on my WordPress site using WPML. Here is the link to the page where the issue can be seen: hidden link.

Symptoms:
I expected to see the different menus in different languages, but instead, I got all of the menus in one language and not in the other languages.

Questions:
Why are all menus appearing in one language instead of different languages?
How can I fix the issue of translated menus not displaying correctly?

November 4, 2025 at 10:11 am #17544704

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Hey there,

Thank you for waiting. I've downloaded a copy of your website, but the issue is not happening there. I suspect that the cause is either in caching, on your server or in a mixture of both. To be able to verify that, I need you to please create a staging (testing) copy of your website on the same server, so I can check for causes and solutions.

You can use a plugin to achieve that, or reach out to your hosting support, ad they might be able to help you creating a staging website. Please send me the link to it here, when you are done. Thank you for the cooperation on this matter.

November 10, 2025 at 12:03 pm #17562196

larryL-9

Can you try it again please? it's a huge site and would cost us money to duplicate it on our server? Also. we've started hgetting erors due to WPML: Hii!
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, WPML Multilingual CMS.
First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
hidden link
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.8.3
Active theme: Avada (version 7.13.3)
Current plugin: WPML Multilingual CMS (version 4.8.4)
PHP version 8.2.29
Error Details
=============
An error of type E_ERROR was caused in line 193 of the file /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translations.php. Error message: Uncaught InvalidArgumentException: No translation entry found for query: s:34:” trid = %d AND language_code = %s “;a:2:{i:0;s:7:”4926721″;i:1;s:2:”us”;} in /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translations.php:193
Stack trace:
#0 /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translations.php(65): WPML_TM_ICL_Translations->select_translation_id(‘ trid = %d AND …’, Array)
#1 /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translations.php(43): WPML_TM_ICL_Translations->build_from_trid(Array)
#2 /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-records.php(155): WPML_TM_ICL_Translations->__construct(Object(WPML_TM_Records), Array, ‘trid_lang’)
#3 /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/inc/actions/wpml-tm-post-actions.class.php(67): WPML_TM_Records->icl_translations_by_trid_and_lang(‘4926721’, ‘us’)
#4 /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php(943): WPML_TM_Post_Actions->save_post_actions(443985, Object(WP_Post), false)
#5 /nas/content/live/heskins1/wp-includes/class-wp-hook.php(324): wpml_tm_save_post(443985, Object(WP_Post), false)
#6 /nas/content/live/heskins1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#7 /nas/content/live/heskins1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-translation.class.php(213): do_action(‘wpml_tm_save_po…’, 443985, Object(WP_Post), false)
#9 /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-admin-post-actions.class.php(123): WPML_Post_Translation->after_save_post(‘4926721’, Array, ‘fr’, ‘en’)
#10 /nas/content/live/heskins1/wp-includes/class-wp-hook.php(326): WPML_Admin_Post_Actions->save_post_actions(443985, Object(WP_Post))
#11 /nas/content/live/heskins1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#12 /nas/content/live/heskins1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#13 /nas/content/live/heskins1/wp-includes/post.php(5110): do_action(‘save_post’, 443985, Object(WP_Post), true)
#14 /nas/content/live/heskins1/wp-includes/post.php(5212): wp_insert_post(Array, false, true)
#15 /nas/content/live/heskins1/wp-admin/includes/post.php(453): wp_update_post(Array)
#16 /nas/content/live/heskins1/wp-admin/includes/post.php(2172): edit_post(Array)
#17 /nas/content/live/heskins1/wp-admin/includes/misc.php(1355): wp_autosave(Array)
#18 /nas/content/live/heskins1/wp-includes/class-wp-hook.php(326): heartbeat_autosave(Array, Array)
#19 /nas/content/live/heskins1/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#20 /nas/content/live/heskins1/wp-admin/includes/ajax-actions.php(3503): apply_filters(‘heartbeat_recei…’, Array, Array, ‘post’)
#21 /nas/content/live/heskins1/wp-includes/class-wp-hook.php(324): wp_ajax_heartbeat(”)
#22 /nas/content/live/heskins1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#23 /nas/content/live/heskins1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#24 /nas/content/live/heskins1/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_heartbe…’)
#25 {main}
thrown

November 11, 2025 at 10:20 am #17565710

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Hello there,

Unfortunately, since the error is not happening locally, I don't have anything to investigate there. Again, there must be something related to your server, since this is the only difference between my local copy and your live website. I double-checked.

You can install a copy of the website on a subfolder, like hidden link, without the media files. You have the necessary storage for that, are there's a 10 month old backup from All In One WP Migration. It should take less than 3GB without the media files. Let me know.

November 12, 2025 at 9:26 am #17569467

larryL-9

OK, I'm currently trying to get a staging website up and running. However, if this doesn't have the same error what should we do?

November 12, 2025 at 9:29 am #17569492

larryL-9

Also, can you please make my next reply private so that I can send you login details?

November 12, 2025 at 11:12 am #17570041

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Sure, the private fields are enabled. If the issue also happens on staging, I have something to investigate and make tests on. This way, we can analyze adn test without harming the live website. That's the idea 🙂

November 12, 2025 at 3:53 pm #17571807

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

I got the message below:

VERIFICATION REQUIRED: Additional verification is required for login. If there is a valid account for the provided login credentials, please check the email address associated with it for a verification link to continue logging in.

Can you check?

November 12, 2025 at 4:11 pm #17571847

larryL-9

I've switched Wordfence off please let me know if it works now?

November 13, 2025 at 10:36 am #17574235

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

It works. Nonetheless, the issue is not present on the staging website, so there's nothing for me to check there as well. I re-analyzed the live website and noted that the multiple items that show inside the menu, are not actually menus from other languages, but repeated occurrences of the existing menus for the selected language. Check the image.

Ensure to have a backup, and please make the following test:

1. Open Appearance > Menu, so that you see the multiple repeated menus. The issue in the image.
2. Deactivate WPML and reload the Menus page. Check if the issue is still there;

Let me know how it goes.

Screenshot 2025-11-13 at 11.28.48.jpg
November 13, 2025 at 10:44 am #17574269

larryL-9

Yes that screenshot happens a lot and is the main part of the problem. We either get that screen or no menus…
I’m away from the desk but is there a reason that it either fine for 10mins yesterday?

November 13, 2025 at 10:51 am #17574298

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

I'm not sure, I understood your question. What does "it either fine" mean?

Please let me know your results from the tests I sent.

November 13, 2025 at 12:03 pm #17574668

larryL-9

Sorry it was a typo:
Is there a reason it was fine for 10 mins yesterday.

I’m a bit concerned about switching your plugin off on the live site. Surely there is another fix you can do?

November 13, 2025 at 12:59 pm #17574922

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Oh, I'm not sure.

So, I suspect that the issue is not being caused by WPML, that's why I want to test that, briefly. I actually don't have any other solutions, as I can't reproduce the issue elsewhere, and don't have anything to deeply investigate.

You can disable WPML for one or two minutes and test if the issue is there. This will give us a clue if the issue is related to WPML or not.

November 13, 2025 at 2:04 pm #17575292

larryL-9

I deactivated the PML plugin and visited the menus - screenshot attached. This is exactly what I expected to see because without WPML to categorise them - the menus still exist?

Screenshot 2025-11-13 at 14.02.26.png