Fatal error: Uncaught Exception: 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 ') group by b.manufacturer_id' at line 1<br />Error No: 1064<br />select b.manufacturer_id,count(a.product_id) as total from oc_product_to_category as a left join oc_product as b on b.product_id=a.product_id where b.status=1 and a.category_id in() group by b.manufacturer_id in /www/wwwroot/chipsmt.ru/system/library/db/mysqli.php:48
Stack trace:
#0 /www/wwwroot/chipsmt.ru/system/library/db.php(48): DB\MySQLi->query()
#1 /www/wwwroot/chipsmt.ru/catalog/model/catalog/product.php(1161): DB->query()
#2 /www/wwwroot/chipsmt.ru/system/engine/loader.php(248): ModelCatalogProduct->getManufacturerCount()
#3 /www/wwwroot/chipsmt.ru/system/engine/proxy.php(47): Loader->{closure}()
#4 /www/wwwroot/chipsmt.ru/catalog/controller/product/category.php(173): Proxy->__call()
#5 /www/wwwroot/chipsmt.ru/system/engine/action.php(79): ControllerProductCategory->index()
#6 in /www/wwwroot/chipsmt.ru/system/library/db/mysqli.php on line 48