SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND t.hide = 0 ORDER BY t.views_mean desc LIMIT 0, 33' at line 1 at /var/www/kypit_divanru/data/www/kypit-divan.ru/framework/classes/engine/MapperORM.class.php line 188
Array ( [code] => 1064 [message] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND t.hide = 0 ORDER BY t.views_mean desc LIMIT 0, 33' at line 1 [query] => SELECT MAX(ch.char_value+0) max, MIN(ch.char_value+0) min FROM kd_shop_product t INNER JOIN kd_shop_category c ON t.category_id = c.id INNER JOIN kd_shop_product_chars ch ON t.id = ch.product_id AND ch.char_id = 1 WHERE 1=1 and t.id IN () AND t.hide = 0 ORDER BY t.views_mean desc LIMIT 0, 33 [context] => /var/www/kypit_divanru/data/www/kypit-divan.ru/framework/classes/engine/MapperORM.class.php line 188 )