WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Fatal error: Call to undefined function is_main_query() (4 posts)

  1. geberxt
    Member
    Posted 1 year ago #

    I activated WooCommerce 1.4.2 plugin and now my site is completely down. This is not good. I previously had activated Jigoshop but deactivated and removed it. I reinstalled WooCommerce plugin in case of a conflict. I've contacted the creator of the WP theme (Mayashop) and they say their code is fine--that it is WooCommerce plugin. So how do I regain control of my site?

    http://www.mkbrewer.com

    Fatal error: Call to undefined function is_main_query() in /home/mkbrewer/public_html/wp-content/plugins/woocommerce/classes/class-wc-query.php on line 32

    http://wordpress.org/extend/plugins/woocommerce/

  2. geberxt
    Member
    Posted 1 year ago #

    I removed WooCommerce and MayaShop to cancel the error. Back to a basic wordpress site for now until I find a replacement that does not use WooCommerce because it seems like everyone's support was seriously lacking today.

  3. mikejolley
    Member
    Plugin Author

    Posted 1 year ago #

    If you get an error with is_main_query your on an old version of WordPress.

  4. geberxt
    Member
    Posted 1 year ago #

    Thanks mikejolley for your comment.

    Yes, I did have an older version of WordPress based on the info provided by the theme author. They said their theme was compatible to 3.3 but it turns out that was not correct.

    It's a shame because I was looking forward to using WooCommerce. I am sure there will be another time.

    For this project, I had to switch to something else.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic