Notice: Undefined variable: path in /home/diva-tex/data/www/diva-tex.ru/modules/shop/actions/item_view.php on line 53

Warning: Invalid argument supplied for foreach() in /home/diva-tex/data/www/diva-tex.ru/modules/shop/actions/item_view.php on line 53
object(PDOStatement)#17 (1) { ["queryString"]=> string(293) "SELECT DISTINCT i.* FROM acme_shop_items i INNER JOIN acme_shop_item_group as x ON i.id = x.product_id WHERE (x.`group_id` IN ()) AND (i.id != :id) AND (i.deleted = :deleted) AND (i.public = :public) LIMIT 6" }

System debug info, DB class

!MessageFileLine
SQLSTATE[42000]: Syntax error or access violation: 1064 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 (i.id != '82') AND (i.deleted = '0') AND (i.public = '1') LIMIT 6' at line 8/home/diva-tex/data/www/diva-tex.ru/general/system/db.php71