[MediaWiki-l] Why do I get deprecated functions?
phoenixoverride at gmail.com
Mon Nov 3 13:44:30 UTC 2014
Have you upgraded your PHP to 1.23 requirements?
On Mon, Nov 3, 2014 at 8:40 AM, Katharina Wolkwitz <wolkwitz at fh-swf.de>
> Hi everybody,
> here's something I don't understand.
> I've just updated my mediawiki-installation to the current version 1.23.5 -
> which I thought was up to date, and now I'm running up against one
> after the other with deprecated functions like this one:
> Deprecated: preg_replace(): The /e modifier is deprecated, use
> preg_replace_callback instead in
> /opt/lampp/htdocs/_fhbwiki/includes/GlobalFunctions.php on line 1271
> And also this:
> Strict Standards: Non-static method Mail::factory() should not be called
> statically in /opt/lampp/htdocs/_fhbwiki/includes/UserMailer.php on line
> or this:
> Strict Standards: Non-static method PEAR::isError() should not be called
> statically, assuming $this from incompatible context in
> /opt/lampp/lib/php/Net/SMTP.php on line 450
> Now, I'd understand if these would happen in modules where I had made any
> of adaptation, but I pretty sure I never touched any of these files. So why
> aren't they just updated to the correct and working version???
> Or did I do something wrong while updating? Is there a way to check?
> MediaWiki-l mailing list
> To unsubscribe, go to:
More information about the MediaWiki-l