Answer the question
In order to leave comments, you need to log in
Call to undefined function mb_orig_strpos?
When opcache is enabled, the following error occurs:
Call to undefined function mb_orig_strpos
and then the path to the file
. If it is disabled, there is no error, but the whole site slows down (I have not installed memcached yet).
I did not find such a function - I shoveled github and google in search.
Google has always returned similar code:
CTar::strpos()
// /bitrix/modules/main/classes/general/backup.php:1410
public static function strpos($s, $a)
{
if (function_exists('mb_orig_strpos'))
return mb_orig_strpos($s, $a);
return strpos($s, $a);
}
Answer the question
In order to leave comments, you need to log in
1. look towards php.ini or .htaccess
mbstring.func_overload = 2
2. Disable the proactive filter
3. mbstring.func_overload = 0
4. update Bitrix
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question