Last modified: 2014-11-03 14:52:42 UTC
E-Mail over SMTP throws strict errors everytime an e-mail is sent. Specs: 5.4.6-1ubuntu1.2 (fpm-fcgi) - MW 1.20.4 - 10.0.1-MariaDB-mariadb1~quantal-log - Nginx 1.2.1-2.2 - pear.php.net/PEAR-1.9.4 - imagemagick 8:6.7.7.10-2ubuntu4 Error: 2013/04/21 00:42:15 [error] 23509#0: *304256 FastCGI sent in stderr: "PHP message: PHP Strict Standards: Non-static method Mail::factory() should not be called statically in /wiki/includes/UserMailer.php on line 246 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /wiki/includes/UserMailer.php on line 247 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Mail/smtp.php on line 365 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 450 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 467 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 474 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 517 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 265 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 521 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Mail/smtp.php on line 376 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatib 2013/04/21 00:42:15 [error] 23509#0: *304256 FastCGI sent in stderr: "PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 265 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 825 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 829 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 265 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 834 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 656 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Mail/smtp.php on line 249 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Mail/smtp.php on line 285 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 952 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 265 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, as 2013/04/21 00:42:16 [error] 23509#0: *304256 FastCGI sent in stderr: "/share/php/Net/SMTP.php on line 265 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 1141 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 491 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 265 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 494 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 497 PHP message: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /wiki/includes/UserMailer.php on line 101" while reading response header from upstream, client: x.x.x.x, server: example.com, request: "POST /index.php?title=xxx&action=submit HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "example.com", referrer: "http://example.com/index.php?title=xxx&action=submit"
(In reply to comment #0) Upstream bug reports were already filed about two years ago. I have no clue if (or why) they still care about PHP4 compatibility. > Error: > 2013/04/21 00:42:15 [error] 23509#0: *304256 FastCGI sent in stderr: "PHP > message: PHP Strict Standards: Non-static method Mail::factory() should not be > called statically in /wiki/includes/UserMailer.php on line 246 http://pear.php.net/bugs/bug.php?id=18254 > PHP message: PHP Strict Standards: Non-static method PEAR::isError() should > not be called statically in /wiki/includes/UserMailer.php on line 247 http://pear.php.net/bugs/bug.php?id=18638 , although it does not mention that specific function.
(In reply to Kevin Israel (PleaseStand) from comment #1) > Upstream bug reports were already filed about two years ago. I have no clue > if > (or why) they still care about PHP4 compatibility. Apparently, there is now a PHP5-only replacement for PEAR Mail called PEAR Mail2. MediaWiki does not use it currently. On the other hand, there's now <https://www.mediawiki.org/wiki/Extension:SwiftMailer>. Perhaps it would make sense to get that extension bundled and drop PEAR Mail support in core?