SQL 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 C.object_name LIMIT 0,16' at line 1 at /home/vi-2017/dverovozik.ru/docs/object.php line 83
Array
(
    [code] => 1064
    [message] => 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 C.object_name LIMIT 0,16' at line 1
    [query] => SELECT C.object_name, C.object_id, CLS.producer_id, OS.price, OCLS.color_photo, P.producer_name, P.producer_id, OCLS.color_id, OCLS.surface_id FROM catalog AS C LEFT JOIN object_sizes AS OS ON C.object_id = OS.object_id LEFT JOIN object_colors AS OCLS ON C.object_id = OCLS.object_id LEFT JOIN colors AS CLRS ON OCLS.color_id = CLRS.color_id LEFT JOIN collections AS CLS ON C.object_collection_id = CLS.collection_id LEFT JOIN producers AS P ON CLS.producer_id = P.producer_id WHERE C.object_class = 2 AND OS.price < 11028.5 AND OS.price > 8151.5 AND C.object_id != 1684 AND OS.for_search = 1 AND CLRS.group_id IN () GROUP BY C.object_name LIMIT 0,16
    [context] => /home/vi-2017/dverovozik.ru/docs/object.php line 83
)