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 ') ORDER BY cd.name ASC' at line 1<br />Error No: 1064<br />SELECT DISTINCT c.category_id, c.image as image, cd.name as name FROM oc_product_to_category p2c LEFT JOIN oc_category c ON (p2c.category_id = c.category_id) LEFT JOIN oc_category_description cd ON (p2c.category_id = cd.category_id) WHERE cd.language_id = '1' AND p2c.product_id IN () ORDER BY cd.name ASC in /home/mrbrett/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/mrbrett/public_html/system/storage/modification/system/library/db.php(29): DB\MySQLi->query('SELECT DISTINCT...', Array)
#1 /home/mrbrett/public_html/system/library/mscategory.php(798): DB->query('SELECT DISTINCT...')
#2 /home/mrbrett/public_html/vqmod/vqcache/vq2-catalog_controller_seller_catalog-seller.php(615): MsCategory->getOcCategoriesByProducts(NULL)
#3 /home/mrbrett/public_html/vqmod/vqcache/vq2-syst in /home/mrbrett/public_html/system/library/db/mysqli.php on line 40