Fatal error: Uncaught Exception: Error: Incorrect DATE value: '0000-00-00'<br />Error No: 1525<br />SELECT COUNT(DISTINCT ps.product_id) AS total FROM oc_product_special ps LEFT JOIN oc_product p ON (ps.product_id = p.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND ps.customer_group_id = '2' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) in /home/gdqmed/public_html/system/library/db/mysqli.php:41
Stack trace:
#0 /home/gdqmed/public_html/system/library/db.php(45): DB\MySQLi->query('SELECT COUNT(DI...')
#1 /home/gdqmed/storage/modification/catalog/model/catalog/product.php(749): DB->query('SELECT COUNT(DI...')
#2 /home/gdqmed/storage/modification/system/engine/loader.php(248): ModelCatalogProduct->getTotalProductSpecials()
#3 /home/gdqmed/public_html/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /home/gdqmed/storage/modificatio in /home/gdqmed/public_html/system/library/db/mysqli.php on line 41