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 'FROM oc_product_to_category p2c LEFT JOIN oc_product p ON (p2c.product_id = p...' at line 1<br />Error No: 1064<br />SELECT p.product_id, pd.price AS discount, ps.price AS special FROM oc_product p LEFT JOIN (SELECT pd2.product_id, MIN(pd2.price) AS price FROM oc_product_discount pd2 WHERE pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) GROUP BY pd2.product_id) pd ON p.product_id = pd.product_id LEFT JOIN (SELECT ps.product_id, MIN(ps.price) AS price FROM oc_product_special ps WHERE ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) GROUP BY ps.product_id) ps ON p.product_id = ps.product_id FROM oc_product_to_category p2c LEFT JOIN o in /home/web/arsenal-prime.ru/www/system/library/db/mysqli.php on line 41