Skip to content Skip to sidebar

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

Problem:
The client was trying to translate pages into French but encountered a fatal error message related to the navigation menu when attempting to view the translated page.

Solution:
We recommended the client to first check how the page was duplicated and then perform a conflict test. This involves deactivating all plugins except for WPML to see if the issue persists. If the problem is resolved, the client should then reactivate the plugins one by one to identify the conflicting plugin. Additionally, we advised testing with a default theme to rule out any theme-related issues.

If these steps do not resolve the issue or if the solution does not seem relevant, we encourage the client to open a new support ticket with us for further assistance. WPML support forum

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 2 voices.

Last updated by Andrey 1 year, 7 months ago.

Assisted by: Andrey.

Author Posts
November 29, 2023 at 1:58 pm #14952207

veroniqueR

I am trying to: translate pages in French

Link to a page where the issue can be seen: hidden link

I expected to see: a duplicate of the English page

Instead, I got: this error message: Fatal error: Uncaught Error: Attempt to assign property "current" on null in /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/nav-menu-template.php:394 Stack trace: #0 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/nav-menu-template.php(196): _wp_menu_item_classes_by_context() #1 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-content/themes/betheme/functions/theme-menu.php(84): wp_nav_menu() #2 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-content/themes/betheme/includes/header-top-area.php(83): mfn_wp_nav_menu() #3 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/template.php(792): require('/home/u64159101...') #4 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/template.php(725): load_template() #5 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/general-template.php(206): locate_template() #6 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-content/themes/betheme/includes/header-classic.php(48): get_template_part() #7 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/template.php(792): require('/home/u64159101...') #8 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/template.php(725): load_template() #9 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/general-template.php(206): locate_template() #10 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-content/themes/betheme/header.php(80): get_template_part() #11 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/template.php(790): require_once('/home/u64159101...') #12 /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/template.php(725): load_template() #13 / #18 {main} thrown in /home/u641591019/domains/noveomarketing.net/public_html/northrich/wp-includes/nav-menu-template.php on line 39

November 29, 2023 at 9:48 pm #14956493

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

How did you duplicate the page? What are the results if you temporarily deactivate all the plugins except WPML?

Also, please make a test with any default theme.