WE ARE IN LOVE WITH CLIENT
Recently, we discovered how client loving working with us by their 5 star recommedation
Top
Just purchased this and I'm getting a deprecated function error on the Accounts page where a user pulls up his/her saved carts. ... Any simple way to swap out this code to use the updated function?
( ! ) Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in G:\wamp\www\linens\plugins\system\savedcart\views\default.php on line 60
I found the line and I even sorta grasp what its doing but I'm not knowledgeable enough to convert it over to preg_replace_callback ...
$string = preg_replace('!s:(\d+):"(.*?)";!se', "'s:'.strlen('$2').':\"$2\";'", $string);
Thanks for any help anyone may be able to provide.