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 p.status=1
AND p.price > 0
' at line 15<br />Error No: 1064<br />SELECT
c.category_id as category_id,
count(p.product_id),
MIN(p.price) as min_price,
p.delivery_days as delivery_days
FROM oc_category c
JOIN oc_category_description cd ON cd.category_id = c.category_id and cd.language_id = 2
/*JOIN oc_category_filter cf ON cf.category_id = c.category_id*/
JOIN oc_product_to_category p2c ON c.category_id=p2c.category_id
JOIN oc_product p ON p.product_id=p2c.product_id
JOIN oc_product_to_store p2s ON p.product_id = p2s.product_id
JOIN oc_product_filter pf on p.product_id = pf.product_id
WHERE c.p in /var/www/web/sites/kolesamira.ru/system/library/db/mysqli.php on line 40