FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » The /e modifier is deprecated (error message on Available Groups page)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
The /e modifier is deprecated [message #187236] Sat, 04 February 2017 01:52 Go to next message
schamess is currently offline  schamess   United States
Messages: 4
Registered: January 2017
Karma: 0
Junior Member
Hope this is the right place to post this... I'm new to using FudForum, just installed it on my site. In the Available Groups, Permissions chart, in the Group Name Row, I get this ugly error message at the top of each column:

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/(my username)/hpsan-columbus.com/discuss/adm/admgroups.php on line 323

Anything I should do about that?

Thanks!!
Re: The /e modifier is deprecated [message #187237 is a reply to message #187236] Sun, 05 February 2017 05:18 Go to previous messageGo to next message
GaryM is currently offline  GaryM   United States
Messages: 118
Registered: May 2013
Location: Seattle
Karma: 3
Senior Member
While I'm no php expert, what version of php are you using? This points to using PHP 5.5

Re: The /e modifier is deprecated [message #187239 is a reply to message #187237] Mon, 06 February 2017 18:54 Go to previous messageGo to next message
schamess is currently offline  schamess   United States
Messages: 4
Registered: January 2017
Karma: 0
Junior Member
Thanks for the reply! Any idea if there's a patch or an updated admgroups.php file to address this? Or should I try to switch down to an earlier php build?
Re: The /e modifier is deprecated [message #187240 is a reply to message #187239] Tue, 07 February 2017 18:01 Go to previous messageGo to next message
GaryM is currently offline  GaryM   United States
Messages: 118
Registered: May 2013
Location: Seattle
Karma: 3
Senior Member
I can't really help you but hopefully Frank (naudefj), the head bartender will weigh in and give you some good direction.

[Updated on: Tue, 07 February 2017 18:01]

Report message to a moderator

Re: The /e modifier is deprecated [message #187241 is a reply to message #187240] Tue, 07 February 2017 22:52 Go to previous messageGo to next message
schamess is currently offline  schamess   United States
Messages: 4
Registered: January 2017
Karma: 0
Junior Member
Thanks, I will wait to hear from him. I'm running php 5.6 BTW.
Re: The /e modifier is deprecated [message #187250 is a reply to message #187241] Sun, 05 March 2017 00:18 Go to previous messageGo to next message
Shanga_BP is currently offline  Shanga_BP   Romania
Messages: 7
Registered: December 2014
Karma: 0
Junior Member
Same error in Group admin, FUD 3.0.7, on PHP 5.6

Deprecated: preg_replace(): The /e modifier is deprecated

Would appreciate a fix, thank you.

Aw: The /e modifier is deprecated [message #187269 is a reply to message #187236] Wed, 12 April 2017 20:14 Go to previous messageGo to next message
alopezie is currently offline  alopezie   
Messages: 106
Registered: September 2003
Karma: 1
Senior Member
Just had a quick look, and in fact I have the same error.
As far as I have seen it is just about conversion to uppercase.

Pretty easy to delete error, for the moment just replace line 323 with
echo $v[l];
Maybe just put an /* ... */ around old code and add new line.









Alopezie.de - das Forum zum Thema Haarausfall
Re: Aw: The /e modifier is deprecated [message #187411 is a reply to message #187269] Sun, 14 January 2018 06:12 Go to previous messageGo to next message
fmouse is currently offline  fmouse   United States
Messages: 2
Registered: January 2018
Karma: 0
Junior Member
alopezie wrote on Wed, 12 April 2017 20:14
Just had a quick look, and in fact I have the same error.
As far as I have seen it is just about conversion to uppercase.

Pretty easy to delete error, for the moment just replace line 323 with
echo $v[l];
Maybe just put an /* ... */ around old code and add new line.
This should be
echo $v[1];

A "one", not an "el".







[/quote]
Re: Aw: The /e modifier is deprecated [message #187413 is a reply to message #187411] Sun, 14 January 2018 09:50 Go to previous message
naudefj is currently offline  naudefj   United States
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
If I remember correctly, we fixed it in the FUDforum 3.0.8RC1 release.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: fud30_mod_que is not a FUDForum table
Next Topic: Problems with email for registering on this forum
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 02:50:49 GMT 2024

Total time taken to generate the page: 0.02081 seconds