Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: PrincessOnly on January 03, 2020, 05:44:55 AM

Title: "8192:preg_replace(): The /e modifier is deprecated
Post by: PrincessOnly on January 03, 2020, 05:44:55 AM
Now what?

Suddenly this started with nothing done on my end.  Still on PHP 5.6.  Can't access my SMF chatter.princessonly.com/

"8192:preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
File: /home/princess/public_html/chatter/Sources/Load.php(198) : runtime-created function
Line: 3"
Title: Re: "8192:preg_replace(): The /e modifier is deprecated
Post by: d3vcho on January 03, 2020, 05:49:44 AM
What version of SMF are you using? What version of PHP is your server running?
Title: Re: "8192:preg_replace(): The /e modifier is deprecated
Post by: PrincessOnly on January 03, 2020, 08:08:29 AM
"Still on PHP 5.6"  SMF 1.1.21
Title: Re: "8192:preg_replace(): The /e modifier is deprecated
Post by: Kindred on January 03, 2020, 08:27:11 AM
with that error, I'm not sure that you are actually on php 5.6

However -- your solution is simple.
Upgrade to 2.0.17
Title: Re: "8192:preg_replace(): The /e modifier is deprecated
Post by: PrincessOnly on January 03, 2020, 04:33:57 PM
My host company uses cpanel.  Is there a simple way on cpanel to upgrade?
Title: Re: "8192:preg_replace(): The /e modifier is deprecated
Post by: Illori on January 03, 2020, 04:48:53 PM
https://wiki.simplemachines.org/smf/Upgrading
Title: Re: "8192:preg_replace(): The /e modifier is deprecated
Post by: PrincessOnly on January 06, 2020, 07:43:03 AM
Thanks to all.  Problem solved with a fairly easy upgrade.