• Resolved Scholto Bos

    (@scholtobos)


    Hi, I’,m getting a undefined array warning on filtering in the archive page. Please see link to check it yourself. It happens with all filters.

    Warning: Undefined array key "taxonomy" in /home/p15933/domains/finler.nl/public_html/wp-content/plugins/woocommerce/src/Internal/ProductAttributesLookup/Filterer.php on line 153

    Looks like my site isn’t checking if the key taxonomy exists before using it. How can I fix this?

    Kind regards, Scholto

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there, @scholtobos! Thanks for contacting us. I’m happy to help you.

    I checked your website and I was able to see the erro message on my end.

    Do you have any custom code on this site? It could be causing this issue.

    Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter Scholto Bos

    (@scholtobos)

    @carol No errors in log. I use the filtering widget from the Woodmart theme with the possibilty to set OR / AND filtering. When changing OR into AND the error disappeared. Maybe you can do something with this information too @sofia.

    Have a nice evening.

    Hey, @scholtobos!

    Thanks for sharing the solution and contributing to the WooCommerce Community!

    I’ll mark this as solved, okay?

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Hey, @sofianespera!

    If the solution shared does not work, per WordPress forum guidelines, would you mind opening up a new thread for this so that we can keep things organized and offer more personalized support for you?

    This issue might be specific to the third-party theme, but we’ll do everything we can to help or guide you to the right direction.

    Have a wonderful day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined Array on filtering’ is closed to new replies.