Last modified: 2014-11-03 14:52:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49463, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47463 - E-Mail over SMTP throws strict errors everytime an e-mail is sent
E-Mail over SMTP throws strict errors everytime an e-mail is sent
Status: NEW
Product: MediaWiki
Classification: Unclassified
Email (Other open bugs)
1.20.x
All All
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-21 01:24 UTC by 02388338eeab
Modified: 2014-11-03 14:52 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description 02388338eeab 2013-04-21 01:24:03 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"
Comment 1 Kevin Israel (PleaseStand) 2013-04-21 02:34:19 UTC
(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.
Comment 2 Kevin Israel (PleaseStand) 2014-11-03 14:52:42 UTC
(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?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links