Notice: Array to string conversion in /var/www/abcdteam/data/www/alice2k.me/plugins/simplesearch/classes/modules/simplesearch/Simplesearch.class.php on line 96
SQL Error: Got error 'empty (sub)expression' from regexp at /var/www/abcdteam/data/www/alice2k.me/plugins/simplesearch/classes/modules/simplesearch/mapper/Simplesearch.mapper.class.php line 62
Array
(
[code] => 1139
[message] => Got error 'empty (sub)expression' from regexp
[query] =>
SELECT SQL_CALC_FOUND_ROWS DISTINCT t.topic_id,
CASE
WHEN (LOWER(tc.topic_text) REGEXP '') THEN 4 -- strict
WHEN (LOWER(t.topic_title) REGEXP '') THEN 3
WHEN (LOWER(tc.topic_text) REGEXP '') THEN 2 -- not strict
WHEN (LOWER(t.topic_title) REGEXP '') THEN 1
WHEN 1 = 1 THEN 0 -- for compability
END AS weight
FROM
`ls_topic` AS t,
`ls_topic_content` AS tc
WHERE
t.topic_publish = 1
AND
t.topic_id = tc.topic_id
AND
(
(LOWER(t.topic_title) REGEXP '') -- strict
OR
(LOWER(tc.topic_text) REGEXP '')
OR
(LOWER(t.topic_title) REGEXP '') -- not strict
OR
(LOWER(tc.topic_text) REGEXP '')
)
ORDER BY
weight DESC, t.topic_rating DESC, t.topic_id DESC
LIMIT 0, 20
[context] => /var/www/abcdteam/data/www/alice2k.me/plugins/simplesearch/classes/modules/simplesearch/mapper/Simplesearch.mapper.class.php line 62
)