Error message in Nav

This is the error message I’m getting. Developed a theme using underscores. Just transferred the site from local to live. Any ideas why I’m getting this error? I’m getting this instead of Nav menu items

WARNING
: MISSING ARGUMENT 2 FOR SO_37823371_MENU_ITEM_CLASS() IN
/HOME/MARSHA13/PUBLIC_HTML/WP-CONTENT/THEMES/MARSHALL/FUNCTIONS.PHP
ON LINE
168

Here’s the line in question

 function so_37823371_menu_item_class ( $classes, $item, $args, $depth 
 ){
 $classes[] = 'menu-li';
 return $classes;
 }

Any idea’s why my menu items aren’t showing up?

Read more here: Error message in Nav

Leave a Reply

Your email address will not be published. Required fields are marked *