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 '1=1 AND p.manufacturer_id IN (8) ORDER BY CASE WHEN p.cache_total_store > 1 ...' at line 1<br />Error No: 1064<br />SELECT p.product_id, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, null AS discount, null AS special FROM oc_product p INNER JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE 1=1 1=1 AND p.manufacturer_id IN (8) ORDER BY CASE WHEN p.cache_total_store > 1 THEN 0 ELSE 1 END, p.product_id LIMIT 0,45 in /home/u559705122/domains/apsipirk.lt/public_html/system/library/db/mysqli.php:41 Stack trace: #0 /home/u559705122/domains/apsipirk.lt/public_html/storage/modification/system/library/db.php(238): DB\MySQLi->query('SELECT p.produc...') #1 /home/u559705122/domains/apsipirk.lt/public_html/storage/modification/catalog/model/catal in /home/u559705122/domains/apsipirk.lt/public_html/system/library/db/mysqli.php on line 41