- Deprecated: Function split() is deprecated in "/.../plugins/system/osolcaptcha.php on line 514";
- Deprecated: Function ereg_replace() is deprecated in /.../plugins/system/osolcaptcha.php on line 811;
In our case in "osolcaptcha.php" the usage of these functions is simple, and has a similar syntax as their nondeprecated counterparts "explode" and "str_replace" respectively.
So we can simply change the following function names in a file "osolcaptcha.php".
Line 514:
- Код: Выделить всё
// $pathArray = split("/",JURI::base());
$pathArray = explode("/",JURI::base());
Line 811 (or may be 800):
- Код: Выделить всё
// $hex = ereg_replace("#", "", $hex);
$hex = str_replace("#", "", $hex);
Hope this will help you

Late i want to write about other deprecated features in PHP 5–7.