Title: Fatal error: member function get_queried_object() &#8230; nav-menu-template.php
Last modified: August 20, 2016

---

# Fatal error: member function get_queried_object() … nav-menu-template.php

 *  [tccarter](https://wordpress.org/support/users/tccarter/)
 * (@tccarter)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-member-function-get_queried_object-nav-menu-templatephp/)
 * Ever since I did my last maintenance updates on the following site I’ve been 
   getting the following error. Does anyone have any insight as to what might be
   causing this?
 * `PHP Fatal error: Call to a member function get_queried_object() on a non-object
   in /home/$site/public_html/wp-includes/nav-menu-template.php on line 251`
 * Also, doing a google search I’ve seen this error on a lot of WP site, so I’m 
   surprised this hasn’t been brought up yet.

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-member-function-get_queried_object-nav-menu-templatephp/#post-2755398)
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem. If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the Twenty Eleven theme to rule out any theme-specific problems.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems.
 * – re-uploading the wp-admin and wp-includes folders from a **fresh** download
   of WordPress.

Viewing 1 replies (of 1 total)

 The topic ‘Fatal error: member function get_queried_object() … nav-menu-template.
php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-member-function-get_queried_object-nav-menu-templatephp/#post-2755398)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
