MySQL Error
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 'AND id in (2126,2139,2140,2141,2142,2143,2150,2151,2152,2153,4713,2154,4714,2155' at line 1
    [query] =>   SELECT * , IF(`sale_price` > 0, `sale_price`, `price`) as sort_price    FROM core_shop_products    WHERE `show`="1" AND id_brand =  AND id in (2126,2139,2140,2141,2142,2143,2150,2151,2152,2153,4713,2154,4714,2155,4715,4716,2157,4717,2158,2159,2160,4720,2161,4721,2162,2163,2164,2188,2200,2201)
                    
    [context] => /home/h907184914/himsnab-spb.ru/docs/core/components/comp_shop/module.php line 290
)