Title: Error after activate the plugin
Last modified: April 19, 2018

---

# Error after activate the plugin

 *  Resolved [jba60](https://wordpress.org/support/users/jba60/)
 * (@jba60)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-after-activate-the-plugin/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-after-activate-the-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrei](https://wordpress.org/support/users/andreiigna/)
 * (@andreiigna)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-after-activate-the-plugin/#post-10199845)
 * 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.

 * ![](https://ps.w.org/if-menu/assets/icon-256x256.png?rev=1862232)
 * [If Menu - Visibility control for Menus](https://wordpress.org/plugins/if-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/if-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/if-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/if-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/if-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/if-menu/reviews/)

## Tags

 * [betheme](https://wordpress.org/support/topic-tag/betheme/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrei](https://wordpress.org/support/users/andreiigna/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/error-after-activate-the-plugin/#post-10199845)
 * Status: resolved