• Resolved mncd

    (@mncd)


    I was asked to do some updates on a website. I did not build it and I know little about the details of its structure.

    I updated WordPress from 4.3x to 4.6 and also updated a number of plugins.

    It turns out that the theme being used, “Blvck”, has been discontinued entirely. I believe this is where the error is coming from. When on the shop pages (the site uses WooCommerce) I get the error below…

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘WC_Query’ does not have a method ‘price_filter’ in /home/victoria/public_html/wp-includes/plugin.php on line 235

    Warning: array_unique() expects parameter 1 to be array, null given in /home/victoria/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 395

    When I search for these specific errors (including line numbers) I found other sites which are showing the same thing. On one theme support forum (not my theme nor theme creator) I found a thread where the company had identified and fixed the problem.

    Since my theme is discontinued and apparently unsupported, I need to figure out how to fix it myself. I’d rather not switch themes because I’m afraid it could turn into a massive job to rebuild the site. Note that after the wordpress and woocommerce updates, woocommerce said some of the theme’s woocommerce template files were outdated. I have since copied over the latest woocommerce files and that did not fix the error.

    Any suggestions of what I can do now?

    The problem pages are here… at the link below and any product page offshoot.

    https://www.victoriasix.com/collections/

    Note this problem doesn’t seem unique… I found a number of other sites with this same error — just google: wc_query line 235

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WC Query error after updating – WooCommerce site’ is closed to new replies.