#0 Db::query( SELECT `p`.`id` FROM `products` AS `p` WHERE `p`.`id` IN ?a AND `p`.`active`=1 AND `p`.`is_sale`=0 AND `p`.`active`=1 , Array ([0] => Array ()), /home/poshvu.ru/public_html/www/class/Product.php, 1457) called at [/home/poshvu.ru/public_html/www/class/Product.php:1457] #1 site_Product::get_list_products_category(Array ([0] => 563), Array ([sort_popular] => populardown), , , 1, , Array (), category, , 40, , , , 1, , ) called at [/home/poshvu.ru/public_html/www/services/category_main.php:307] #2 require(/home/poshvu.ru/public_html/www/services/category_main.php) called at [/home/poshvu.ru/public_html/www/services/category.php:230] #3 include_once(/home/poshvu.ru/public_html/www/services/category.php) called at [/home/poshvu.ru/public_html/www/index.php:239]
MySQL mini debug
MySQL query error in file /home/poshvu.ru/public_html/www/services/category.php:230.
MySQL error (#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 `p`.`active`=1 AND `p`.`is_sale`=0 AND `p`.`active`=1' at line 3
Callstack:

SELECT `p`.`id` FROM `products` AS `p` WHERE `p`.`id` IN () AND `p`.`active`=1 AND `p`.`is_sale`=0 AND `p`.`active`=1 #0 Db::query( SELECT `p`.`id` FROM `products` AS `p` WHERE `p`.`id` IN ?a AND `p`.`active`=1 AND `p`.`is_sale`=0 AND `p`.`active`=1 , Array ([0] => Array ()), /home/poshvu.ru/public_html/www/class/Product.php, 1457) called at [/home/poshvu.ru/public_html/www/class/Product.php:1457] #1 site_Product::get_list_products_category(Array ([0] => 563), Array ([sort_popular] => populardown), , , 1, , Array (), category, , 40, , , , 1, , ) called at [/home/poshvu.ru/public_html/www/services/category_main.php:307] #2 require(/home/poshvu.ru/public_html/www/services/category_main.php) called at [/home/poshvu.ru/public_html/www/services/category.php:230] #3 include_once(/home/poshvu.ru/public_html/www/services/category.php) called at [/home/poshvu.ru/public_html/www/index.php:239]