Support » Plugin: If Menu - Visibility control for Menu Items » Fatal error when activated

  • Resolved motov.net

    (@motovnet)


    Seems like incompatibility with another plugin may be?

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function Equip\Module\MenuModule::walker(), 1 passed in /Applications/MAMP/htdocs/tm/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /Applications/MAMP/htdocs/tm/wp-content/plugins/equip/app/modules/MenuModule.php:208 Stack trace: #0 /Applications/MAMP/htdocs/tm/wp-includes/class-wp-hook.php(286): Equip\Module\MenuModule->walker(‘Walker_Nav_Menu…’) #1 /Applications/MAMP/htdocs/tm/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘Walker_Nav_Menu…’, Array) #2 /Applications/MAMP/htdocs/tm/wp-content/plugins/if-menu/if-menu.php(136): apply_filters(‘wp_edit_nav_men…’, ‘Walker_Nav_Menu…’) #3 /Applications/MAMP/htdocs/tm/wp-includes/class-wp-hook.php(286): If_Menu::admin_init(‘nav-menus.php’) #4 /Applications/MAMP/htdocs/tm/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /Applications/MAMP/htdocs/tm/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /Applications/MAMP/htdocs/tm/wp-admin/admin-header.php in /Applications/MAMP/htdocs/tm/wp-content/plugins/equip/app/modules/MenuModule.php on line 208

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrei

    (@andreiigna)

    Hi,

    This conflict is caused by other themes or plugins which are not integrating well with Menu Items hooks.
    In this case, the error happens because of the plugin wp-content/plugins/equip

    The best option is to contact plugin developers and see if they can include a fix for this (can provide more info about this is necessary)

    Cheers

    Thread Starter motov.net

    (@motovnet)

    Hello, yes the plugin Equip is the cause.

    Thank you for your great work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error when activated’ is closed to new replies.