Unknown: preg_replace():


ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeUnknown: preg_replace():

This topic has been marked as not resolved.

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?

in line 208 –

public static function pregtr($search, array $replacePairs)
return preg_replace(array_keys($replacePairs), array_values($replacePairs), $search);

April 2, 2019 at 11:27 pm #67656
Viewing 1 post
  • You must be logged in to reply to this topic.