Forum Replies Created

Viewing 1 replies (of 1 total)
  • I had the same issue. As kalber said:

    find the woocommerce.php file of your shop theme (ie. Maya) using file manager from your control panel

    example: public_html/wp-content/themes/maya/inc/woocommerce.php

    open the woocommerce.php using a php editor (ie. Notepad++ or on wordpress Apperance/Editor select your theme). You can download the file to your desktop and work from there.

    look for the function that contains the argument error, in my case “woocommerce_price_filter”

    ———-
    // active the price filter
    global $woocommerce;
    if(version_compare($woocommerce->version,”2.0.0″) < 0 ) add_action(‘init’, ‘woocommerce_price_filter_init’);
    add_filter(‘loop_shop_post_in’, ‘woocommerce_price_filter’);
    ———-

    DELETE IT, save the file and upload it to the same location. If you want you can rename the old woocommerce.php to woocommerceold.php just in case you need it in the future.

    Saludos, turi

Viewing 1 replies (of 1 total)