I am facing this issue on M2.3.5-p2 when filter through non anchored subcategory on the main category(anchored) page.

Steps to reproduce

  • From the admin set parent category anchor to Yes.

  • For one of it's subcategory set anchor to No.

  • Now on the front end navigate to main category and on the layered navigation try to filter through sub category configured as non anchor.

  • It will throw the exception "The bucket doesn't exist."

    Exception #0 (Magento\Framework\Exception\StateException): The bucket doesn't exist.

    Check the screenshot

There are several post available related to it which only consists a workaround. Instead what is the root cause of the issue?Why magento won't allow to filter through non anchor categories. Please help me with this.

Thanks in advance.

1 Answer 1



Please have look here

Might solve your issue

Happy coding

  • your solution won't work for me, even with reindex and cache flush. Oct 28, 2020 at 5:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.