• Resolved James Hunt

    (@bonkerz)


    Hi
    I’m getting an error when adding the filter to my page:

    Notice: Undefined offset: 0 in /xxx/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 453

    The filter subsequently doesn’t filter

    Any ideas on why this error is showing?

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter James Hunt

    (@bonkerz)

    My bad, this was caused by a custom pre_get_posts that was not playing nice with the plugin. Once I disabled that, the error went away.

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined offset error when filter shows’ is closed to new replies.