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 trialMike Dang
Courses Plus Student 47 Pointsmissing 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
Mike Dang
Courses Plus Student 47 PointsThank You @YerkoPalma :)
1 Answer
Zac Gordon
Treehouse Guest TeacherDid 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.
Yerko Palma
2,662 PointsYerko Palma
2,662 Pointsthe 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