• Resolved alexiusgrey

    (@alexiusgrey)


    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 constructor
    Not 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]

Viewing 1 replies (of 1 total)
  • Moderator Felipe Santos

    (@foosantos)

    Hi there!

    If I understood correctly, you have a site with Gutenberg and WooCommerce, then you also added some custom code for WooCommerce. Now, you’re facing some issues with the Block Editor when trying to edit/load the page.

    Based on what you shared, that looks like an issue with WooCommerce or with your custom code. The best path here would be to first try without the custom code and see if works as expected.

    If you identify an issue with the WooCommerce native filters (or WooCommerce core generally), you can open a request here.

Viewing 1 replies (of 1 total)
  • The topic ‘What’s the error in WooCommerce default filters (Gutenberg blocks) ?’ is closed to new replies.