Title: Please delete wrong plugin page &#8211; Fatal Error Caused
Last modified: April 16, 2020

---

# Please delete wrong plugin page – Fatal Error Caused

 *  Resolved [thefingerprint](https://wordpress.org/support/users/thefingerprint/)
 * (@thefingerprint)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/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.

 * ![](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/)

 * 0 replies
 * 1 participant
 * Last reply from: [thefingerprint](https://wordpress.org/support/users/thefingerprint/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-caused/)
 * Status: resolved