What’s the error in WooCommerce default filters (blocks) and how to fix it?
-
In my client’s theme are using the default WooCommerce filters – without plugins. For attributes and for the min-max price – a slider. Or maybe not exactly default – with Gutenberg, they are actually blocks, not layered nav as 2 years ago. There are no colors – so extra plugins are don’t needed.
No one did nothing, but 2 days ago the started some bugs. That filters are don’t load, and the mistake on their place is
Unexpected error in: woocommerce/price-filter Error: TypeError:
error
object is not an instance of Error constructorNot anywhere, not any time, but often
For example In google I founded old post that it could be because of the version of wordpress, but it was many versions ago – 4.5+, 5.3+ etc. On that website the version is 6.2.2 I don’t have the file woocommerce/price-filter in my theme – NOT CHILD!!!!!!!!! – it’s custom, made with underscore, no builders. That means the file is exactly in the woocommerce plugin folder. I see only content-widget-price-filter.php. Maybe I’m not only one who has that mistake and someoe already fixed it?
The page I need help with: [log in to see the link]
- The topic ‘What’s the error in WooCommerce default filters (blocks) and how to fix it?’ is closed to new replies.