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.
WE ARE IN LOVE WITH CLIENT
Recently, we discovered how client loving working with us by their 5 star recommedation
Top
Hello James Newton,
Thank you so much for purchasing our product. Please create a ticket at http://cmsmart.net/your-profile/user_list_ticket to get a professional support.
Our support team is always available to help you.
Have a nice day,
Best regards,
Janet.