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 ')
)
GROUP BY c.category_id' at line 18<br />Error No: 1064<br />
SELECT
c.category_id,
cd.name,
c.oct_image
FROM
oc_manufacturer m
LEFT JOIN oc_product p ON (m.manufacturer_id = p.manufacturer_id)
LEFT JOIN oc_product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN oc_category c ON (c.category_id = p2c.category_id)
LEFT JOIN oc_category_description cd ON (cd.category_id = c.category_id AND cd.language_id = '3' AND cd.name != '')
WHERE
p.status = 1
AND m.manufacturer_id = '37'
AND c.status= 1
AND c.category_id IN (
SELECT ptc.category_id
FROM oc_product_to_category ptc
WHERE ptc.product_id IN ()
in /home/yu398489/matras.kiev.ua/www/storage/modification/system/library/db/mysqli.php on line 43