Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1329340

    Hi,

    I am trying to translate my menus but keep getting a fatal error when I try to make an English menu:

    Fatal error: Uncaught Error: Attempt to assign property “front_or_home” on null in /customers/e/0/b/wendywasbauer.nl/httpd.www/wp-admin/includes/nav-menu.php:379 Stack trace: #0 /customers/e/0/b/wendywasbauer.nl/httpd.www/wp-admin/includes/template.php(1522): wp_nav_menu_item_post_type_meta_box(NULL, Array) #1 /customers/e/0/b/wendywasbauer.nl/httpd.www/wp-admin/nav-menus.php(938): do_accordion_sections(Object(WP_Screen), ‘side’, NULL) #2 {main} thrown in /customers/e/0/b/wendywasbauer.nl/httpd.www/wp-admin/includes/nav-menu.php on line 379

    • This topic was modified 3 years, 1 month ago by Wendy.
    #1329411

    Hey Wendy,

    Thank you for the inquiry.

    Did you install any menu plugins or any extensions that add features to the default menu? Please try to deactivate the plugins temporarily, then try to translate the menus again.

    Best regards,
    Ismael

    #1329468

    Hi Ismael,

    I have de-activated all plugins except the WMPL-plugin, but the error remains. Previously I had a fatal error on my website regarding line 311 in the avia_blog.php and copied and paste a code from another thread of this Forum and solve that problem. I don’t think this has anything to do with the current error but just to be sure: below is the code I copied into avia_blog.php.

    The weird thing is that the Germand and French translation allow me to create a menu, but the English version doesn’t.

    moved to pastebin: https://pastebin.com/yzgWtmw9

    #1329598

    Hi,

    Thank you for the info.

    We may need to access the site and deactivate the plugins temporarily in order to properly inspect the issue. Please provide the site URL in the private field and include the login details. And it is probably a good idea to create a site backup or a restore point just in case.

    Best regards,
    Ismael

    #1329841
    This reply has been marked as private.
    #1329887

    Hi,

    Thanks for the update and login details. The details you sent seem to be working, but after that your site is asking for a Google Authenticator code, could you share that code with us as well please?

    Best regards,
    Rikard

    #1329908
    This reply has been marked as private.
    #1329922

    Hi,

    Thanks for the update, I could get in now. I updated a file which might be causing the problem you were having, could you try to translate your menu again please?

    Best regards,
    Rikard

    #1329926

    Hi Rikard,

    Nope, still not possible to translate the English menu. I get the same errore. You can see the error in the Appearance – Menu (English version)

    #1329930

    Hi,

    Thanks for the update, I see the same problem on my end as well unfortunately. Does the same problem happen if you activate one of the default WordPress themes? We can try it out for you, if you give us permission to install one of the default WordPress themes, and activate it temporarily.

    Best regards,
    Rikard

    #1329931

    Hi Rikard,

    Sure, you can try another wordpress theme. I’ve installed the regular 2021 theme for you.

    #1329938

    Hi,

    Thanks for that. I see the same problem when the default WordPress theme is active, so this is likely a problem with WPML, or some sort of conflict from another plugin. Did you try to deactivate all plugins except the WPML plugins? If that doesn’t help, then please try reaching out to WPML support, as they should be in a better place to help you out with this.

    Best regards,
    Rikard

    #1329940

    Okay, Rikard, I’ll contact WPML. Thank you

    #1329951

    Hi,

    Great, thanks for letting us know. We’ll keep this thread open in case you should need any further help from us.

    Best regards,
    Rikard

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.