Hello,
When creating empty categories or brands, the page displays a critical error: “A critical error has occurred on your website.” Moreover, the affected page lacks a normal structure.
Additionally, enabling “Hide out of stock products” leads to the same error when all products in a category are sold out.
If WooCommerce doesn’t show a category or brand without a product, I would appreciate it if, in these situations, the page could display an informative message indicating that there are no products available in that category or brand, rather than generating a critical error.
I need your help to fix this. Can you provide a solution or guide me on the necessary settings?
Thank you,