Fatal error: Uncaught Exception: Error: Incorrect DATE value: '0000-00-00'<br />Error No: 1525<br /> SELECT p.product_id, ( SELECT AVG(rating) total FROM `oc_review` r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id ) rating, ( SELECT price FROM `oc_product_discount` pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1 ) discount, ( SELECT price FROM `oc_product_special` ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1 ) special, p.viewed FROM `oc_product` p LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.product_id) LEFT JOIN `oc_product_description` pd ON (p.product_id = pd.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 pd.language_id = '1' AND p2c.category_id = '61' GROUP BY p.product_id ORDER BY LCASE(pd.name) DESC, LCASE(pd.name) DESC LIMIT 0, 12 in /home/supertop/public_html/system/library/db/mysqli.php:41 Stack trace: #0 /home/supertop/storage/modification/system/library/db.php(55): DB\MySQLi->query('\n\t\t\tSELECT \n\t\t\t...') #1 /home/supertop/public_html/system/library/journal3/opencart/model.php(48): DB->query('\n\t\t\tSELECT \n\t\t\t...') #2 /home/supertop/public_html/catalog/model/journal3/filter.php(1162): Journal3\Opencart\Model->dbQuery('\n\t\t\tSELECT \n\t\t\t...', 'PRODUCTS') #3 /home/supertop/public_html/catalog/model/journal3/filter.php(838): ModelJournal3Filter->dbQuery('\n\t\t\tSELECT \n\t\t\t...', 'PRODUCTS') #4 /home/supertop/public_html/catalog/model/journal3/filter.php(842): ModelJournal3Filter->getProductIds(Array) #5 /home/supertop/storage/modification/system/engine/loader.php(256): ModelJournal3Filter->getProducts(Array) #6 /home/supertop/public_html/system/engine/proxy.php(47): Loader->{closure}(Array, Array) #7 /home/supertop/storage/modification/catalog/controller/product/category.php(214): Proxy->__call('getProducts', Array) #8 /home/supertop/storage/modification/system/engine/action.php(79): ControllerProductCategory->index() #9 /home/supertop/public_html/catalog/controller/startup/router.php(25): Action->execute(Object(Registry)) #10 /home/supertop/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index() #11 /home/supertop/storage/modification/system/engine/router.php(134): Action->execute(Object(Registry)) #12 /home/supertop/storage/modification/system/engine/router.php(123): Router->execute(Object(Action)) #13 /home/supertop/public_html/system/framework.php(169): Router->dispatch(Object(Action), Object(Action)) #14 /home/supertop/public_html/system/startup.php(104): require_once('/home/supertop/...') #15 /home/supertop/public_html/index.php(19): start('catalog') #16 {main} thrown in /home/supertop/public_html/system/library/db/mysqli.php on line 41