Please delete wrong plugin page – Fatal Error Caused
-
I get this error this the php when i try to view the menus in wordpress.
[16-Apr-2020 13:24:50 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Menu_Items_Visibility_Control::wp_nav_menu_item_custom_fields(), 4 passed in /wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /wp-content/plugins/menu-items-visibility-control/init.php:44
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): Menu_Items_Visibility_Control->wp_nav_menu_item_custom_fields(‘2717’, Object(WP_Post), 0, Object(stdClass))
#1 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#2 /wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /wp-content/themes/betheme/functions/theme-mega-menu.php(283): do_action(‘wp_nav_menu_ite…’, ‘2717’, Object(WP_Post), 0, Object(stdClass))
#4 /wp-includes/class-wp-walker.php(144): Walker_Nav_Menu_Edit_Mfn->start_el(”, Object(WP_Post), 0, Object(stdClass))
#5 /wp-content/plugins/menu-items-visibility-control/init.php on line 44
- The topic ‘Please delete wrong plugin page – Fatal Error Caused’ is closed to new replies.