From: Harold H. <ha...@ha...> - 2014-05-26 18:55:03
|
> Le 22/05/2014 14:35, Harold Hallikainen a écrit : >> >> I'm migrating to a new server and am installing phpwiki-code-8855-trunk. >> I'm getting a lot of warnings about preg_replace. >> >> Warning: "preg_replace(): The /e modifier is deprecated, use >> preg_replace_callback instead" >> >> In /etc/php.ini, I have this line: >> error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT >> >> which seems it should suppress warnings about deprecated features. But, >> the warnings keep showing up. > > Hello Harold, > > I just created a patch to replace preg_replace with > preg_replace_callback. > > It is in Subversion revision 8856. > > Can you please see if it solves your problem? > > Best regards, > > Marc-Etienne Vargenau THANKS! That seems to reduce the number of warnings, but I suspect this is also used in other files (and I'm having trouble figuring out which ones since php error logging does not seem to be working). I'll see if I can find the other occurrences. If you can find them also, that would be great! Thanks! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! Not sent from an iPhone. |