• Been looking for a resolution to array_unique() expects parameter 1 to be array, null given in …public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 395

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    We can add a workaround, but the issue is caused by a plugin or your theme filtering ‘loop_shop_post_in’ and returning something other than an array.

    Thread Starter webexrichard

    (@webexrichard)

    I will try disabling individual plugins. What would be the possible workarounds?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘array_unique() expects parameter 1 to be array’ is closed to new replies.