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 '' at line 1<br />Error No: 1064<br />SELECT DISTINCT(p2c.product_id) FROM `oc_product_to_category` p2c LEFT JOIN `oc_product` p ON (p2c.product_id = p.product_id) LEFT JOIN `oc_product_to_store` p2s ON (p.product_id = p2s.product_id) WHERE p2c.category_id IN ('139') AND p2c.product_id != '345' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' ORDER BY RAND() LIMIT in /home/users/a/atdagaev/domains/al-harameen.ru/system/storage/modification/system/library/db/mysqli.php:52 Stack trace: #0 /home/users/a/atdagaev/domains/al-harameen.ru/system/library/db.php(21): DB\MySQLi->query('SELECT DISTINCT...', Array) #1 /home/users/a/atdagaev/domains/al-harameen.ru/system/storage/modification/catalog/model/catalog/product.php(26): DB->query('SELECT DISTINCT...') #2 /home/users/a/atdagaev/domains/al-harameen.ru/system/storage/modification/s in /home/users/a/atdagaev/domains/al-harameen.ru/system/storage/modification/system/library/db/mysqli.php on line 52