Closed torvista closed 4 months ago
Any idea as to the category structure that leads to that warning? I'm unable to reproduce with the Zen Cart default products/categories.
Vanilla ZC strict reporting enable categories sidebox drop in BS4 Admin, My Store, SHOW_COUNTS to false $zca_include_zero_product_categories = false;
possibly you are missing the last thing.
Close, it's the setting of SHOW_COUNTS
to 'false' the exposes the issue.
strict reporting
https://github.com/lat9/ZCA-Bootstrap-Template/blob/fa8fa1f0f4b6aca5b06dc5e9a9e31f085e29caf9/includes/templates/bootstrap/sideboxes/tpl_categories.php#L21
I needed to add an isset && to the check as the count field is not set if SHOW_COUNTS is false.