Title: Fatal error making menu
Last modified: March 29, 2021

---

# Fatal error making menu

 *  Resolved [parmesan102](https://wordpress.org/support/users/parmesan102/)
 * (@parmesan102)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-making-menu/)
 * I am trying to use mobile menu to create a menu, since I’m not a fan of the one
   that comes with my theme, Blocksy. However, the menu elements do not display 
   when I press the hamburger icon. Rather, I get a long error message inside the
   menu.
 * Below is part of the error message I’m getting:
 * > Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(),
   > 3 passed in C:\xampp\htdocs\test-site\wp-includes\class-wp-hook.php on line
   > 292 and exactly 4 expected in C:\xampp\htdocs\test-site\wp-content\themes\blocksy\
   > inc\menus.php:61 Stack trace: #0 C:\xampp\htdocs\test-site\wp-includes\class-
   > wp-hook.php(292): {closure}(Array, Object(WP_Post), Object(stdClass)) #1 C:\
   > xampp\htdocs\test-site\wp-includes\plugin.php(212): WP_Hook->apply_filters(
   > Array, Array) #2 C:\xampp\htdocs\test-site\wp-content\plugins\mobile-menu\includes\
   > class-wp-mobile-menu-walker-nav-menu.php(27):

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-making-menu/#post-14256408)
 * Hi [@parmesan102](https://wordpress.org/support/users/parmesan102/),
 * Can you just try to switch to a default WordPress theme to see if it’s something
   with the theme itself so I can investigate further?
 * Thanks
 *  Thread Starter [parmesan102](https://wordpress.org/support/users/parmesan102/)
 * (@parmesan102)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-making-menu/#post-14257097)
 * Hello [@takanakui](https://wordpress.org/support/users/takanakui/),
 * Your suspicions are correct; it does indeed seem to be the Blocksy theme causing
   this error, considering the menu works perfectly on a default theme.
 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-making-menu/#post-14268354)
 * [@parmesan102](https://wordpress.org/support/users/parmesan102/) unfortunately
   it’s not something I can debug further.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error making menu’ is closed to new replies.

 * ![](https://ps.w.org/mobile-menu/assets/icon-128x128.png?rev=1890426)
 * [WP Mobile Menu - The Mobile-Friendly Responsive Menu](https://wordpress.org/plugins/mobile-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobile-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobile-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/mobile-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobile-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobile-menu/reviews/)

## Tags

 * [fatal](https://wordpress.org/support/topic-tag/fatal/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-making-menu/#post-14268354)
 * Status: resolved