Add check for truthiness of $menu_item variable
Add check for truthiness of $menu_item variable

If the footer menu does not contain any menu items, wp_get_nav_menu_items() returns a boolean FALSE value. This results in a php error in the server logs because a boolean parameter is invalid in foreach().
gios-asu/ASU-Web-Standards-Wordpress-Theme,gios-asu/ASU-Web-Standards-Wordpress-Theme,gios-asu/ASU-Web-Standards-Wordpress-Theme,gios-asu/ASU-Web-Standards-Wordpress-Theme