• Resolved jba60

    (@jba60)


    Hallo, after activating If Menu I can not edit the menus, but I get the following error message:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function Mfn_MegaMenu::mfn_edit_nav_menu_walker(), 1 passed in /www/htdocs/w015c53b/business-coaching/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /www/htdocs/w015c53b/business-coaching/wp-content/themes/betheme/functions/theme-mega-menu.php:48 Stack trace: #0 /www/htdocs/w015c53b/business-coaching/wp-includes/class-wp-hook.php(286): Mfn_MegaMenu->mfn_edit_nav_menu_walker(‘Walker_Nav_Menu…’) #1 /www/htdocs/w015c53b/business-coaching/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘Walker_Nav_Menu…’, Array) #2 /www/htdocs/w015c53b/business-coaching/wp-content/plugins/if-menu/if-menu.php(156): apply_filters(‘wp_edit_nav_men…’, ‘Walker_Nav_Menu…’) #3 /www/htdocs/w015c53b/business-coaching/wp-includes/class-wp-hook.php(286): If_Menu::admin_init(‘nav-menus.php’) #4 /www/htdocs/w015c53b/business-coaching/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /www/htdocs/w015c53b/business-coaching/wp-includes/plu in /www/htdocs/w015c53b/business-coaching/wp-content/themes/betheme/functions/theme-mega-menu.php on line 48

    I use the BeTheme template and the actual wordpress version.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Andrei

    (@andreiigna)

    Hi,

    Thanks for giving If Menu a try

    I can see from the error message that the conflict is created by MegaMenu plugin, not theme.
    Extending menu items functionality is a bit tricky at the moment, and some plugins are not implemented correctly or up to date with WP latest code.
    Will contact the MegaMenu developers, maybe they can add the fix in that plugin so both can work as expected on same site

Viewing 1 replies (of 1 total)

The topic ‘Error after activate the plugin’ is closed to new replies.