Title: Missing Argument nav_menu_css_class
Last modified: September 1, 2016

---

# Missing Argument nav_menu_css_class

 *  Resolved [rivmedia](https://wordpress.org/support/users/rivmedia/)
 * (@rivmedia)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/)
 * Since the update last night a site on our demo board has starting showing :
 *     ```
       Warning: Missing argument 4 for FontAwesomeFour::nav_menu_css_class() in /home/demo/public_html/site/wp-content/plugins/font-awesome-4-menus/n9m-font-awesome-4.php on line 134
       ```
   
 * If I revert back to the previous **n9m-font-awesome-4.php** it works fine.
 * Any resolution for this ?
 * Thanks in advance.
 * [https://wordpress.org/plugins/font-awesome-4-menus/](https://wordpress.org/plugins/font-awesome-4-menus/)

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

 *  Plugin Author [Joe Ponzio](https://wordpress.org/support/users/new-nine/)
 * (@new-nine)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598814)
 * Hi [@rivmedia](https://wordpress.org/support/users/rivmedia/) – what version 
   of WordPress are you using?
 *  Thread Starter [rivmedia](https://wordpress.org/support/users/rivmedia/)
 * (@rivmedia)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598815)
 * Hey,
 * Latest version ( 4.5.3 ). It could be a theme or plugin conflict ( I havent checked
   yet ), but previous version of the plugin works fine.
 *  Plugin Author [Joe Ponzio](https://wordpress.org/support/users/new-nine/)
 * (@new-nine)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598816)
 * I’m seeing a fix to implement for versions prior to 4.1, but I’m not getting 
   any errors running twentysixteen with no plugins at or above 4.1. Please let 
   me know if it ends up being a plugin/theme conflict. Thanks!
 *  Plugin Author [Joe Ponzio](https://wordpress.org/support/users/new-nine/)
 * (@new-nine)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598822)
 * I just pushed an update to fix this. You should see the plugin update it in your
   Dashboard in a few minutes assuming WordPress updates it quickly. Let me know
   if you have any more issues.
 *  Thread Starter [rivmedia](https://wordpress.org/support/users/rivmedia/)
 * (@rivmedia)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598833)
 * Perfect thanks very much, all working ok now.
 *  Plugin Author [Joe Ponzio](https://wordpress.org/support/users/new-nine/)
 * (@new-nine)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598834)
 * Great to hear!
 *  [coolwind38](https://wordpress.org/support/users/coolwind38/)
 * (@coolwind38)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598835)
 * hi [@new](https://wordpress.org/support/users/new/) Nine
 * Warning: preg_grep() expects parameter 2 to be array, boolean given in /home/
   yapiyoruz/public_html/wp-content/plugins/font-awesome-4-menus/n9m-font-awesome-
   4.php on line 216
 * Latest version ( 4.5.3 )
 *  Plugin Author [Joe Ponzio](https://wordpress.org/support/users/new-nine/)
 * (@new-nine)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598836)
 * [@coolwind38](https://wordpress.org/support/users/coolwind38/) – please start
   a new thread, but this is likely a theme or plugin conflict. The line you reference
   is pulling the classes from the WP Nav Menu classes. If another plugin or theme
   modified that, it could be causing the problem.
 * Can you try deactivating other plugins and switching your theme to twentysixteen,
   and then report back? (If you do that and still get errors, let me know what 
   version of WordPress you’re using. Thanks!)
 *  [Muhammad Fahim](https://wordpress.org/support/users/muhammad-fahim/)
 * (@muhammad-fahim)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598863)
 * I face some problem, i use “Font Awesome 4 Menus” Version 4.6.3.2, I have one
   error which is “Warning: preg_grep() expects parameter 2 to be array, boolean
   given in localhost\abc\wp-content\plugins\font-awesome-4-menus\n9m-font-awesome-
   4.php on line 216”, please guide me what to do.
 *  Plugin Author [Joe Ponzio](https://wordpress.org/support/users/new-nine/)
 * (@new-nine)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598880)
 * I’m sorry Muhammad Fahim. I just pushed an update with a fix for the array check(
   also added it in another place as well). Please let me know if/that this solves
   the issue and thanks for your report!

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

The topic ‘Missing Argument nav_menu_css_class’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/font-awesome-4-menus_14a17d.svg)
 * [Font Awesome 4 Menus](https://wordpress.org/plugins/font-awesome-4-menus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/font-awesome-4-menus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/font-awesome-4-menus/)
 * [Active Topics](https://wordpress.org/support/plugin/font-awesome-4-menus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/font-awesome-4-menus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/font-awesome-4-menus/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [Joe Ponzio](https://wordpress.org/support/users/new-nine/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/missing-argument-nav_menu_css_class/#post-7598880)
 * Status: resolved