Replies: 0
I have the following error appearing in my error log but absolutely no idea where to find out what’s causing this in my template files.
PHP Fatal error: Call to a member function get_queried_object() on null in wp-includes/nav-menu-template.php on line 275
Line 275 is
$queried_object = $wp_query->get_queried_object();
Any ideas?