Problem with Menu's not on website anymore

Hi X team,

Is there a technical problem with your Menu’s setting?
I lost all my menu’s on my site and I get a big lag when trying to enter in the backend.

Please have a look urgently because my whole site is not functioning now.

Because on my live site it was showing assing a menu with a link to wordpress access.

I activated something but this was not how it looked like :frowning:

Hey @smart_x,

There is no problem with the menu display. It works fine in all my test sites and upon checking, it’s also working in your site.

Regarding the lag, please try inserting this code in your child theme’s functions.php only:

  • when you’ll update something in your menu in Appearance > Menus
  • if you’re not using the Graphic option in Navigation elements
add_action('init', 'remove_these', 10 );

function remove_these() {
	remove_all_actions( 'wp_nav_menu_item_custom_fields', 10);
    remove_all_actions( 'wp_update_nav_menu_item', 10 );
    remove_all_filters( 'manage_nav-menus_columns', 10 );
}

Thanks.

Please remove screenshot

@christian_y

Please remove screenshot.

Everytime I save a Menu then everthing is gone.

Giving me: Assign A MENU
That links to wordpress loging

Sorry I forgot to post the screenshot in the secure note. I’ve removed it now.

Regarding the menu disappearing issue, we first need to prove that Pro is causing the issue and we need to test without third party factors working in your site. With that said, please clone your site to a staging server and give us WordPress Admin and FTP access to the staging site so we could check with out third party plugins and child theme.

I’d also recommend that you try that first to see if there’s a third party plugin or you have a function in the child theme that’s causing the issue. If none of that is causing the issue, it’s most probably because you have lots of menu items and your server could not handle it. It’s a limitation of WordPress. You will need to contact your web host to increase the max_input_vars they allow. See https://sevenspark.com/docs/ubermenu-3/faqs/menu-item-limit

Have you also tried my suggestion above that you paste the code I posted first before working on your menu?

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.