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 optc.product_id, optc.category_id, oc.name FROM oc_product_to_category AS optc
LEFT JOIN oc_category_description AS oc ON optc.category_id=oc.category_id
WHERE oc.language_id=2
AND optc.product_id IN () in /home/r97690depa/public_html/system/library/db/mysqli.php:48
Stack trace:
#0 /home/r97690depa/public_html/system/library/db.php(45): DB\MySQLi->query('\tSELECT optc.pr...')
#1 /home/r97690depa/public_html/system/storage/modification/catalog/model/catalog/product.php(310): DB->query('\tSELECT optc.pr...')
#2 /home/r97690depa/public_html/system/storage/modification/system/engine/loader.php(266): ModelCatalogProduct->getProducts(Array)
#3 /home/r97690depa/public_html/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /home/r97690depa/public_html/system/storage/modification/catalog/contro in /home/r97690depa/public_html/system/library/db/mysqli.php on line 48