Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16339

    Hi there,

    I’ve just installed the woocommerce plugin, but i suddenly got this error on http://www.touchofchic.nl;

    Fatal error: Call to undefined method WP_Query::is_main_query() in /mnt/webi/b2/56/53375056/htdocs/WordPress_03/wp-content/plugins/woocommerce/classes/class-wc-query.php on line 54

    In the backend it looks like everything is working though, but my frontend isnt showing anything, except for the fatal error.

    Thanks for your help!

    #91140

    Ah, ive just deleted the code on line 54, it was;

    // We only want to affect the main query

    if ( ! $q->is_main_query() )

    return;

    and it works now! Is this a good solution? :P

    / EDIT

    Ah, now everything is broken I think, i suddenly get this error in admin when i click on Woocommerce;

    Fatal error: Call to undefined method stdClass::add_help_tab() in /mnt/webi/b2/56/53375056/htdocs/WordPress_03/wp-content/plugins/woocommerce/admin/woocommerce-admin-content.php on line 23

    #91141

    Still need help, please!

    #91142

    Hi,

    Please download the plugin again then install it.

    Regards,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Woocommerce install problem (fatal error)’ is closed to new replies.