I am having a problem where ZenTools2 is causing page errors if I try to have it display child categories for a category for which there is no blog in the parent category.
This is the error message:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND (publish_down = '0000-00-00 00:00:00' OR publish_down >= '2018-08-09 02:15' at line 3
You may not be able to visit this page because of:
an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
Please try one of the following pages:
Home Page
If difficulties persist, please contact the System Administrator of this site and report the error below.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND (publish_down = '0000-00-00 00:00:00' OR publish_down >= '2018-08-09 02:15' at line 3
I created a ZenTools2 module which is currently unpublished which you can turn on temporarily to see the problem.
The parent menu item is Shop -> Amazon Storefront -> Books (category named Amazon Books)
This is where the module will be displayed in sidebar2. But, if you turn on the module the page will no longer be available. And, not only that but the child categories will also become unavailable.
https://www.drcarney.com/shop/amazon-storefront/books/cookbooks
https://www.drcarney.com/shop/amazon-storefront/books/nutrition-diet