Fatal error: Uncaught Exception: Error: 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 '.':00:00') AND (c.date_end = '0000-00-00' OR c.date_end > date('Y-m-d H').':00:0' at line 1<br />Error No: 1064<br />SELECT * FROM oc_coupon c WHERE c.add_product_card = 1 AND ((c.date_start = '0000-00-00' OR c.date_start < date('Y-m-d H').':00:00') AND (c.date_end = '0000-00-00' OR c.date_end > date('Y-m-d H').':00:00')) AND c.status = '1' ORDER BY coupon_id DESC in /var/www/posuda/data/www/posudaplanet.ru/system/library/db/mysqli.php:49 Stack trace: #0 /var/www/posuda/data/www/posudaplanet.ru/system/library/db.php(21): DB\MySQLi->query('SELECT * FROM o...', Array) #1 /var/www/posuda/data/www/posudaplanet.ru/system/storage/modification/catalog/model/catalog/product.php(1880): DB->query('SELECT * FROM o...') #2 /var/www/posuda/data/www/posudaplanet.ru/system/storage/modification/system/engine/loader.php(183): ModelCatalogProduct->getProductPromocode( in /var/www/posuda/data/www/posudaplanet.ru/system/library/db/mysqli.php on line 49