PDA

View Full Version : Fixing preg_replace /e deprecated errors in modifications


Thunderbird8
10-14-2013, 11:51 PM
Obviously I'm not talking about issues in vB code itself, but in modifications. My host upgraded to PHP 5.5 a month or two ago, and it's mostly vBSEO spilling a bunch of these errors still. I'm not really familiar with preg_replace itself, so I'm not sure how to get around these particular errors.

ozzy47
10-14-2013, 11:57 PM
Try following the suggestions here, http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/4000121-vbulletin-4-2-2-full-has-been-released?p=4000466#post4000466

Thunderbird8
10-15-2013, 12:10 AM
That's for hiding the errors from being displayed (which I've already done), but I'd like to fix them so they don't continue polluting the error log files. And to make sure that things don't break in a later version of PHP.

ozzy47
10-15-2013, 12:13 AM
Then ask at vBSEO to update the mod, or post in the paid section to have someone do it for you.