Illegal argument to a regular expression. [ SELECT `catalog`.*, `users`.`vip`, `users`.`partner`, `catalog_tree_i18n`.`name` AS `type`, LTRIM(catalog_i18n.name) AS `name`, `resorts_i18n`.`name` AS `resort_name`, `catalog_comments`.`comments` FROM `catalog` JOIN `catalog_i18n` ON (`catalog`.`id` = `catalog_i18n`.`row_id`) LEFT JOIN `users` ON (`catalog`.`user_id` = `users`.`id`) JOIN `catalog_tree` ON (`catalog`.`parent_id` = `catalog_tree`.`id`) JOIN `catalog_tree_i18n` ON (`catalog_tree`.`id` = `catalog_tree_i18n`.`row_id`) LEFT OUTER JOIN (SELECT `catalog_id`, COUNT(catalog_comments.catalog_id) AS `comments` FROM `catalog_comments` GROUP BY `catalog_id`) AS `catalog_comments` ON (`catalog_comments`.`catalog_id` = `catalog`.`id`) LEFT JOIN `resorts` ON (`catalog`.`resort_id` = `resorts`.`id`) LEFT JOIN `resorts_i18n` ON (`resorts`.`id` = `resorts_i18n`.`row_id`) JOIN `catalog_specifications_values` ON (`catalog_specifications_values`.`catalog_id` = `catalog`.`id`) WHERE `catalog_i18n`.`language` = 'ru' AND `catalog_tree_i18n`.`language` = 'ru' AND `catalog`.`status` = 1 AND `catalog`.`resort_id` IN ('8', '49') AND `catalog`.`resort_id` IN ('1', '2', '3', '4', '6', '39', '42', '44', '45', '46', '64', '77', '82', '84', '93', '8', '103', '101', '102', '106', '107', '124', '81', '83', '85', '86', '87', '88', '89', '92', '94', '95', '96', '97', '98', '100', '60') AND `catalog`.`parent_id` IN ('17') AND (`catalog`.`specifications` RLIKE '[[:<:]]2linija[[:>:]]') GROUP BY `catalog`.`id`, `catalog_tree_i18n`.`name`, `catalog_i18n`.`name` ORDER BY CASE WHEN users.vip = 1 THEN 0 WHEN users.partner = 1 THEN -1 END DESC, `catalog`.`sort` ASC, `id` ASC LIMIT 24 OFFSET 0 ]