News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Why am I suddenly getting "Deprecated: preg_replace(): " errors ?

Started by L200Forum, March 31, 2018, 07:58:53 AM

Previous topic - Next topic

L200Forum


The full error is  :-
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/lorg/public_html/community/Sources/Load.php(225) : runtime-created function on line 3

Any ideas - I have changed nothing on the site in months

L200Forum

d3vcho

What version are you running? Also, what PHP version is your serve using?
"Greeting Death as an old friend, they departed this life as equals"

L200Forum


L200Forum

Fixed my my site host (PHP issue) :-

Your website was on 5.6 native and I put it on 5.5.

1:38 pm seems like some of the PHP functions your website is using are deprecated so using a version which supports them would fix the issue - just like in your case ^_^


L200Forum

Illori

you need to upgrade to SMF 2.0 to support any higher php version.

Advertisement: