• 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)
  • 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 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.