Fatal error: Uncaught exception 'ErrorException' with message 'Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND c.status = '1'' at line 1
Error No: 1064
SELECT * FROM `oc_coupon` c LEFT JOIN `oc_coupon_category` cc ON (c.coupon_id = cc.coupon_id) WHERE ((c.date_start = '0000-00-00' OR c.date_start < NOW()) AND (c.date_end = '0000-00-00' OR c.date_end > NOW())) AND cc.category_id IN () AND c.status = '1'' in /var/www/fg/data/www/fg-buy.ru/system/database/mysqli.php:41 Stack trace: #0 /var/www/fg/data/www/fg-buy.ru/vqmod/vqcache/vq2-system_library_db.php(20): DBMySQLi->query('SELECT * FROM `...') #1 /var/www/fg/data/www/fg-buy.ru/vqmod/vqcache/vq2-catalog_controller_product_product.php(739): DB->query('SELECT * FROM `...') #2 /var/www/fg/data/www/fg-buy.ru/vqmod/vqcache/vq2-catalog_controller_product_product.php(321): ControllerProductProduct->checkCoupon('130170', '0.0000', '0', NULL) #3 [internal function]: Contr in /var/www/fg/data/www/fg-buy.ru/system/database/mysqli.php on line 41