Всего выполнено запросов: 11 шт. за 0.0961 сек. Закрыть


Ошибка в SQL запросе: SELECT DISTINCT p.id, CONCAT(c.parent_url,c.url) as category_url, p.url as product_url, p.*,pv.product_id as variant_exist, rate,(p.price_course + p.price_course * (IFNULL(rate,0))) as `price_course` FROM `mg_product` p LEFT JOIN `mg_category` c ON c.id = p.cat_id LEFT JOIN `mg_product_variant` pv ON p.id = pv.product_id WHERE p.id IN ()
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 ')' at line 10


/var/hosts/mikea.by/public/mg-core/lib/navigator.php (line 99)


/var/hosts/mikea.by/public/mg-core/lib/navigator.php (line 50)


/var/hosts/mikea.by/public/mg-core/models/catalog.php (line 248)


/var/hosts/mikea.by/public/mg-core/controllers/compare.php (line 156)


/var/hosts/mikea.by/public/mg-core/controllers/compare.php (line 71)


/var/hosts/mikea.by/public/mg-core/lib/moguta.php (line 35)


/var/hosts/mikea.by/public/mg-core/mg-start.php (line 57)


/var/hosts/mikea.by/public/index.php (line 84)