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 ')
AND total_quantity > 0
AND free_quantity > 0' at line 8<br />Error No: 1064<br />
SELECT
product_id,
total_quantity,
free_quantity
FROM
oc_product_gift
WHERE
product_id IN ()
AND total_quantity > 0
AND free_quantity > 0
in /home/salamatftp/public_html/system/storage/modification/system/library/db/mysqli.php:43
Stack trace:
#0 /home/salamatftp/public_html/system/storage/modification/system/library/db.php(58): DB\MySQLi->query('\r\n S...')
#1 /home/salamatftp/public_html/catalog/model/extension/total/product_gift.php(61): DB->query('\r\n S...')
#2 /home/salamatftp/public_html/catalog/model/extension/total/product_gift.php in /home/salamatftp/public_html/system/storage/modification/system/library/db/mysqli.php on line 43