Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2014-09-12 15:53:36

chris98
Member
From: England, United Kingdom
Registered: 2013-05-31
Posts: 906
Website

PHP Deprecated: preg_replace() The /e modifier is deprecated [...]

I've recently updated to PHP 5.5 and though no notice is displayed, when parsing messages, I now get this error in my site's error log:

[12-Sep-2014 15:54:01 UTC] PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/blah/blah/blah/blah/blah/blah/include/parser.php on line 875

I've changed it to preg_replace_callback and it now works. Should I create a ticket for this or was this dealt with since 1.5.3?

Line 875:

$text = preg_replace($pattern, $replace, $text);

Last edited by chris98 (2014-09-12 15:55:03)

Offline

#2 2014-09-12 16:00:26

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,047
Website

Re: PHP Deprecated: preg_replace() The /e modifier is deprecated [...]

I believe this was solved in v1.5.4.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2014-09-12 16:44:26

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 960

Re: PHP Deprecated: preg_replace() The /e modifier is deprecated [...]

Long ago it is time for all to pass to v1.5.6.


My modification of FluxBB 1.5.8 - rev.67
I speak only Russian  tongue

Offline

Board footer

Powered by FluxBB 1.5.8