Fatal error: Uncaught exception 'Core\QB\Database_Exception' with 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 `afisha`.`id` ORDER BY rand() LIMIT 10' at line 1 [SELECT `afisha`.*, `places`.`type`, `cities`.`name` AS `city_name`, IF(afisha.place_name IS NULL or afisha.place_name = "", places.name, afisha.place_name) AS `p_name`, MIN(prices.price) AS `p_from`, MAX(prices.price) AS `p_to` FROM `afisha` LEFT OUTER JOIN `places` ON (`afisha`.`place_id` = `places`.`id` AND `places`.`status` = 1) LEFT OUTER JOIN `prices` ON (`afisha`.`id` = `prices`.`afisha_id`) LEFT JOIN `cities` ON (`cities`.`id` = `places`.`city_id`) WHERE `afisha`.`status` = 1 AND `afisha`.`is_recommended` = 1 AND `afisha`.`event_date` > 1519573439 AND `afisha`.`archive` = 0 AND `places`.`city_id` IN () GROUP BY `afisha`.`id` ORDER BY rand() LIMIT 10]' in /var/www/hochubilet/data/www/hochu-bilet.com/Core/QB/Database/MySQLi.php:153 Stack trace: #0 /v in /var/www/hochubilet/data/www/hochu-bilet.com/Core/QB/Database/MySQLi.php on line 153