Error!Catched error 40642000: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ') GROUP BY ru_product.id ORDER BY `stock` DESC, `price_sort` ASC, `cod' at line 16 in /home/vpkpodsh/public_html/library/pdo.php on line 79. Query: 'select ru_product.id, ru_product.url, ru_product.img, ru_product.kind, ru_product.view, ru_product.name, ru_product.price, ru_product.stock ,CASE price WHEN 0 THEN 100000 ELSE price END AS price_sort FROM ru_product WHERE ru_product.id IN (00011078, 00011084, 00009882, 00009900, 00013110, 00009904, 00011086, 00009907, 00009960, 00009963, 00011079, 00011098, 00011035, ) GROUP BY ru_product.id ORDER BY `stock` DESC, `price_sort` ASC, `code` ASC, `name` asc, id desc'.