• Resolved awilmsmeier

    (@awilmsmeier)


    Hi,
    WOOF is generating the following errors in our debug.log and prevents any page from showing that has products on it. We just upgraded to WooCommerce 3.5.1

    Deactivated the plugin, now at least the pages are showing again – but without filters.
    Best regards,
    Andreas

    [02-Nov-2018 12:04:52 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WOOF::woocommerce_shortcode_products_query(),
    2 passed in /home/andrea47/www/www.peoplesfactory.com/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected in /home/andrea47/www/www.peo
    plesfactory.com/wp-content/plugins/woocommerce-products-filter/index.php:1708
    Stack trace:
    #0 /home/andrea47/www/www.peoplesfactory.com/wp-includes/class-wp-hook.php(286): WOOF->woocommerce_shortcode_products_query(Array, Array)
    #1 /home/andrea47/www/www.peoplesfactory.com/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #2 /home/andrea47/www/www.peoplesfactory.com/wp-content/plugins/zass-plugin/shortcodes/shortcodes.php(1820): apply_filters(‘woocommerce_sho…’, Arra
    y, Array)
    #3 /home/andrea47/www/www.peoplesfactory.com/wp-includes/shortcodes.php(319): zass_woo_featured_carousel_shortcode(Array, ”, ‘zass_woo_featur…’)
    #4 [internal function]: do_shortcode_tag(Array)
    #5 /home/andrea47/www/www.peoplesfactory.com/wp-includes/shortcodes.php(197) in /home/andrea47/www/www.peoplesfactory.com/wp-content/plugins/woocomme
    rce-products-filter/index.php on line 1708

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter awilmsmeier

    (@awilmsmeier)

    Updated to 1.2.2.1 – still having the error.
    Any advice?

    Thread Starter awilmsmeier

    (@awilmsmeier)

    Any updates?

    Having the same problem, uggh, did you find a solution, @awilmsmeier ?

    Thread Starter awilmsmeier

    (@awilmsmeier)

    Hi,
    I just changed line 1708 in /home/andrea47/www/www.peo
    plesfactory.com/wp-content/plugins/woocommerce-products-filter/index.php to the following (adding the missing third parameter). That makes it work:

    public function woocommerce_shortcode_products_query($query_args, $attr, $type = ”) {

    I don’t know why they refuse to fix this or even reply to my support request.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WOOF Breaking our website…’ is closed to new replies.