Fatal error: Uncaught Exception: 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 ')' at line 4<br />Error No: 1064<br />SELECT g.product_id, g.gift_id FROM oc_gift g
LEFT JOIN oc_product p ON (g.product_id = p.product_id)
LEFT JOIN oc_gift_categories gc ON (g.gift_id = gc.gift_id)
WHERE g.status = 1 AND ((g.start_date = '0000-00-00' OR g.start_date < NOW()) AND (g.end_date = '0000-00-00' OR g.end_date > NOW())) AND p.status = 1 AND p.quantity > 0 AND gc.category_id IN () in /home/sugihara/domains/sugihara.lt/public_html/e-parduotuve/system/library/db/mysqli.php:41
Stack trace:
#0 /home/sugihara/domains/sugihara.lt/public_html/e-parduotuve/system/library/db.php(45): DB\MySQLi->query('SELECT g.produc...')
#1 /home/sugihara/domains/sugihara.lt/public_html/e-parduotuve/catalog/model/enternet/catalog/product.php(781): DB->query('SELECT g.produc...')
#2 /home/sugihara/domains/sugihara.lt/public_html/e-parduot in /home/sugihara/domains/sugihara.lt/public_html/e-parduotuve/system/library/db/mysqli.php on line 41