Hi. I’m updated php from 5.4 to 5.6 an get this error:
Unknown: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/admin/data/www/pandasale.ru/tb_themes/shoppica2/library/Utils.php on line 208
How fix it?
Opencart 1.5.4.1
in line 208 –
public static function pregtr($search, array $replacePairs)
{
return preg_replace(array_keys($replacePairs), array_values($replacePairs), $search);
}
|
|