fmello Posted May 21, 2015 Share Posted May 21, 2015 Good afternoon people! Installed modules for postal shipments in CAP and SEDEX, when I test it calculates straight over the top of the screen the following message appears: Deprecated: Function ereg_replace () is deprecated in /var/www/vhosts/emello.net.br/httpdocs/loja/catalog/includes/modules/shipping/pac.php on line 200 Deprecated: Function ereg_replace () is deprecated in / var / www / vhosts / emello.net.br / httpdocs / store / catalog / includes / modules / shipping / sedex.php on line 208 Ja looked on line 200 and 208 of the respective files and'm not finding the error. It's a store that sells DVDs and put in setting the weight at 125 grams. What could be happening? I'm waiting. Thank you. Link to comment Share on other sites More sharing options...
MrPhil Posted May 21, 2015 Share Posted May 21, 2015 Well, the modules may be dangerously out of date, if they're still using ereg_replace(), so I won't promise it's an easy fix. Here is a quick lesson on converting ereg_replace() calls to preg_replace(): http://stackoverflow.com/questions/2443895/ereg-replace-to-preg-replace Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.