Fatal error: Uncaught exception 'Exception' with message '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 ') AND name LIKE '%С1500%' AND name LIKE '%Ресанта%' AND p.product_id N' at line 1
Error No: 1064
SELECT p.product_id FROM rsq_product p INNER JOIN rsq_product_description d ON p.product_id = d.product_id WHERE status=1 AND p.product_id<>1537 AND p.product_id IN (SELECT product_id FROM rsq_product_to_category WHERE category_id=) AND name LIKE '%С1500%' AND name LIKE '%Ресанта%' AND p.product_id NOT IN (0) ORDER BY rand() LIMIT 1' in /home/p/promcr3/crimea-elektro.ru/public_html/system/storage/modification/system/library/db/mysqli.php:47
Stack trace:
#0 /home/p/promcr3/crimea-elektro.ru/public_html/system/storage/modification/system/library/db.php(84): DB\MySQLi->query('SELECT p.produc...', Array)
#1 /home/p/promcr3/crimea-elektro.ru/public_html/catalog/model/catalog/product.php(23): DB->query('SEL in /home/p/promcr3/crimea-elektro.ru/public_html/system/storage/modification/system/library/db/mysqli.php on line 47