Ошибка при выполнении запроса: (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 `articles`.`id`, `articles`.`publication_date` ORDER BY...' at line 15) SELECT `articles`.*, `subcategories`.`question_ru` AS `subcategory_title`, `categories`.`url` AS `category_url`, `categories`.`title_ru` AS `category_title` FROM `articles` LEFT JOIN `categories` ON `categories`.`id`=`articles`.`country` LEFT JOIN `subcategories` ON `subcategories`.`id`=`articles`.`subcountry` WHERE (`articles`.`status`='active') AND (`articles`.`country` != 22) AND (`articles`.is_hidden_article = 0) AND (`articles`.`show_external_img`='1') AND (`articles`.`publication_date` <= 1729041263) AND (`articles`.`id`!='20589') AND (`articles`.`id` IN ()) # GROUP BY `articles`.`id`, `articles`.`publication_date` ORDER BY `views_count` / (1000*(unix_timestamp() - `publication_date`)/86400) DESC LIMIT 0, 3;