This topic has 1 voice, contains 0 replies, and was last updated by regau 1704 days ago.
ThemeBurn Support › Forums › OpenCart Themes › Shoppica OpenCart Theme › Unknown: 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);
Register | Log in
Support forums are restricted to verified buyers only. To apply for access click the "Register" link above and follow the on screen instructions.
Product support is offered by forum only. Requests made by email or any other way will be redirected to the forum.