That sounds like it could be your problem hehe
That is strange though, mb_substr is a builtin PHP function (http://php.net/manual/en/function.mb-substr.php)
Could you perhaps grab some of the code from your compiled search.php - should be located in WWW_ROOT/theme/THEMENAME/search.php - Search for mb_substr - It should look something like this:
/* Remove stuff in quotes */
while (preg_match('!<cite>(.*?)</cite><blockquote>(.*?)</blockquote>!is', $body)) {
$body = preg_replace('!<cite>(.*?)</cite><blockquote>(.*?)</blockquote>!is', '', $body);
}
$body = strip_tags($body);
if (strlen($body) > $GLOBALS['MNAV_MAX_LEN']) {
$body = mb_substr($body, 0, $GLOBALS['MNAV_MAX_LEN']) . '...';
}
return $body;
}
The piece of code its complaining about is located in search_forum_sel.inc.t
[Updated on: Wed, 13 October 2010 14:39]
Report message to a moderator