Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress From Bootstrap to WordPress Setup a Bootstrap Theme Creating Bootstrap Navigation in WordPress

missing argument 2 for register_nav_menu(), called in functions.php on line 36 defined in nav-menu.php on line 109

Warning: Missing argument 2 for register_nav_menu(), called in /home/circlemu/public_html/wp-content/themes/bs-to-wp/functions.php on line 36 and defined in/home/circlemu/public_html/wp-includes/nav-menu.php on line 109

Yerko Palma
Yerko Palma
2,662 Points

the second argument of register_nav_menu function is the description. What this error says is that you must include that argument in some function call in your functions.php

Thank You @YerkoPalma :)

1 Answer

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Did that solve your problem?

In the future if the code says there is an error on a certain line you should post up the related code as well.