Why do I have a weird rendering issue only on 404.php caused by wp_nav_menu?
I’m not sure that this would be causing your problem, but one way you’re definitely Doing It Wrong is referencing menu instead of theme_location in your call to wp_nav_menu(). Let’s assumed you’ve registered your menu as “main-navigation” in functions.php, like such: register_nav_menus( array( ‘main-navigation’ => ‘Main Navigation’, ‘secondary-navigation’ => ‘Secondary Navigation’ ) ); …then your … Read more