WordPress.org

Ready to get started?Download WordPress

Forums

Error in footer when logged in (3 posts)

  1. SimonDorfman
    Member
    Posted 2 years ago #

    After migrating wordpress to a new server, I now have an error in the footer of my wordpress website that is only visible when I'm logged in. Here is the error:

    <!-- X --><br />
    <b>Fatal error</b>:  Call to a member function get_queried_object() on a non-object in <b>/home/username/mywebsite.com/wp-includes/admin-bar.php</b> on line <b>440</b><br />

    Here is the referenced line causing the error:
    http://core.trac.wordpress.org/browser/branches/3.3/wp-includes/admin-bar.php#L440

    $current_object = $wp_the_query->get_queried_object();

    Anyone have any ideas how to troubleshoot this one?

    Many thanks in advance.

  2. ajwilcox
    Member
    Posted 2 years ago #

    I get the same error. After copying a customised theme to a new server.

  3. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    @ajwilcox: Please post your own topic.

Topic Closed

This topic has been closed to new replies.

About this Topic