WooCommerce - excelling eCommerce
[resolved] WooCommerce - Fatal Error (6 posts)

  1. cheapchickchat
    Posted 2 years ago #

    I have attempted to dowload and activate the plug in WooCommerce. I chose the auto installation and can see the plug in my list; however, when the plug in is activated I get the following error -

    Fatal error: Call to undefined method WP_Query::is_main_query() in /home/content/37/7621237/html/wp-content/plugins/woocommerce/classes/class-wc-query.php on line 54

    This is all that is on the page. I have been able to access my website by keeping the page open in another window and deactivating the plug in.



  2. Coen Jacobs
    Posted 2 years ago #

    What version of WooCommerce are you using?

    What version of WordPress are you on? Make sure you are using version 3.5+ since WooCommerce 2.0 requires you to be. The is_main_query() function and WP_Query method are actually already in WordPress core since version 3.3, so if you are still running an older version there are also some security issues that should justify the update.

  3. cheapchickchat
    Posted 2 years ago #

    I will try this; however, I only downloaded this a few days ago and the version available for downloading was 2.0.5

  4. Roy Ho
    Posted 2 years ago #

    What Coen Jacobs is referring to is your WordPress Version.

  5. cheapchickchat
    Posted 2 years ago #

    Thanks and sorry for the confusion. I am using WordPress 3.5.1

  6. Coen Jacobs
    Posted 2 years ago #

    Have you tried disabling all plugins and use a default WordPress theme like Twenty Twelve? This will rule out the possibility that it is a WooCommerce bug, but I doubt it really is a bug since I can't reproduce this on my development machines.

    Can we have a link to your site so we can check what might be causing it?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.