Support » Fixing WordPress » Fatal error: Call to a member function is_main_query()

  • Resolved BDSDallas


    Newbie to Word Press..would appreciate any support. : )

    I just built a new blog site (its been up for about a week and working great). I have added some great plug-ins, but am now not able to sign in and I get the following error message:

    Fatal error: Call to a member function is_main_query() on a non-object in /home/content/87/7791487/html/texastinyhomes/wp-includes/query.php on line 726

    The blog is

    Thanks for reading!


Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator kmessinger


    Read the sticky on page 1 of support. It list several things you can to find the problem.

    Thanks KMessigner..I have read some of the support posts and several are experiencing similar issues, and are doing different things to try and resolve. I’m not sure where to begin. I guess I can sign in to my host FTP files and begin deleting one plug-in at a time, to see if removing some of them will let me then access the dashboard. The website works fine, I just cant do any type of editing within the dashboard without getting the error message, nor can I make a new post or make any comments to adjust widgets or anything. Pretty frustrating.

    George Stephanis


    Code Monkey

    Can you upload your theme’s functions.php file to pastebin or the like for us to take a look at?

    Thanks for the willingness to help George. I concluded, by reading the formum that my problem was with woo-commerce plug-in, (they were getting identical fatal error message) and I solved my issue by having GoDaddy deactivate all my plug-ins, (they were able to sign into dashboard, I wasnt) and i then re-activate everything but the ecommerce plug-in and am now able to sign in and out just fine. PROBLEM SOLVED! : )

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Call to a member function is_main_query()’ is closed to new replies.