MYSQL ERROR
Error:Got error 'empty (sub)expression' from regexp
Query:SELECT SQL_CALC_FOUND_ROWS `T1`.*, `T3`.`Path`, `T3`.`Parent_ID`, `T3`.`Key` AS `Cat_key`, `T3`.`Key`, `T3`.`Type` AS `Listing_type`, `T3`.`Parent_keys`, IF( `T1`.`Sub_status`='invisible' OR `T1`.`Sub_status` = 'visible', `T1`.`Main_photo`, IF(`T1`.`Main_photo`='',`T1`.`Main_photo`,CONCAT( SUBSTRING_INDEX(`T1`.`Main_photo`, '.', 1), '_', `T1`.`Sub_status` ,'_se', '.', SUBSTRING_INDEX(`T1`.`Main_photo`, '.', -1)))) AS `Main_photo` ,IF(TIMESTAMPDIFF(HOUR, `T1`.`Featured_date`, NOW()) <= `T4`.`Listing_period` * 24 OR `T4`.`Listing_period` = 0, '1', '0') `Featured` FROM `deElos_listings` AS `T1` LEFT JOIN `deElos_listing_plans` AS `T2` ON `T1`.`Plan_ID` = `T2`.`ID` LEFT JOIN `deElos_listing_plans` AS `T4` ON `T1`.`Featured_ID` = `T4`.`ID` LEFT JOIN `deElos_categories` AS `T3` ON `T1`.`Category_ID` = `T3`.`ID` LEFT JOIN `deElos_accounts` AS `T7` ON `T1`.`Account_ID` = `T7`.`ID` LEFT JOIN `deElos_lang_keys` AS `TL` ON `TL`.`Key` = CONCAT('categories+name+',`T3`.`Key`) AND `TL`.`Code` = 'se' WHERE ( TIMESTAMPDIFF(HOUR, `T1`.`Pay_date`, NOW()) <= `T2`.`Listing_period` * 24 OR `T2`.`Listing_period` = 0 ) AND ((CONCAT_WS(' ', `T1`.`bust_waist_hip`, `T1`.`about_me`, `T1`.`full_name`, `T1`.`stete`, `T1`.`city`, `T1`.`address`, `T1`.`zip_code`, `T1`.`ad_title`, `T1`.`ad_description`, `T1`.`website_url`, `T1`.`availability`, `T1`.`escort_tours`, `TL`.`Value`) RLIKE '555-555-0199@example.com\\\\\\\\&amp;amp;amp;amp;quot;|echo?') OR (CONCAT_WS(' ', `T1`.`bust_waist_hip`, `T1`.`about_me`, `T1`.`full_name`, `T1`.`stete`, `T1`.`city`, `T1`.`address`, `T1`.`zip_code`, `T1`.`ad_title`, `T1`.`ad_description`, `T1`.`website_url`, `T1`.`availability`, `T1`.`escort_tours`, `TL`.`Value`) RLIKE 'c8i1x67i97?') OR (CONCAT_WS(' ', `T1`.`bust_waist_hip`, `T1`.`about_me`, `T1`.`full_name`, `T1`.`stete`, `T1`.`city`, `T1`.`address`, `T1`.`zip_code`, `T1`.`ad_title`, `T1`.`ad_description`, `T1`.`website_url`, `T1`.`availability`, `T1`.`escort_tours`, `TL`.`Value`) RLIKE 'jcj4bm37p9?') OR (CONCAT_WS(' ', `T1`.`bust_waist_hip`, `T1`.`about_me`, `T1`.`full_name`, `T1`.`stete`, `T1`.`city`, `T1`.`address`, `T1`.`zip_code`, `T1`.`ad_title`, `T1`.`ad_description`, `T1`.`website_url`, `T1`.`availability`, `T1`.`escort_tours`, `TL`.`Value`) RLIKE '||') ) AND `T1`.`Status` = 'active' AND `T3`.`Status` = 'active' AND `T7`.`Status` = 'active' AND `T1`.`Sub_status` <> 'invisible' ORDER BY `Featured` DESC , `T1`.`Date` DESC LIMIT 0, 18
Function:getAll
Class:dbi
File:/var/www/escort.se/public_html/includes/classes/rlSearch.class.php (line# 543)