Page MenuHomePhabricator

PHP Warning: Invalid argument supplied for foreach() in SpecialPageFactory.php
Closed, ResolvedPublicPRODUCTION ERROR

Description

23 PHP Warning: Invalid argument supplied for foreach() in /usr/local/apache/common-local/php-1.23wmf19/includes/specialpage/SpecialPageFactory.php on line 556
9 PHP Warning: Invalid argument supplied for foreach() in /usr/local/apache/common-local/php-1.23wmf19/includes/specialpage/SpecialPageFactory.php on line 243


Version: 1.23rc
Severity: normal

Details

Reference
bz63497

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:11 AM
bzimport set Reference to bz63497.
bzimport added a subscriber: Unknown Object (MLST).

Reedy: How often does this happen?

Previously this has been caused by a Special page class returning a Message object as its description instead of a string as is expected.

This is still happening in 1.23.0rc0 (the line numbers are just +4)

PHP Warning: Invalid argument supplied for foreach() in /srv/www/mediawiki/public_html/w/includes/specialpage/SpecialPageFactory.php on line 246
PHP Warning: Invalid argument supplied for foreach() in /srv/www/mediawiki/public_html/w/includes/specialpage/SpecialPageFactory.php on line 570

It happens on my wikifarm dozens of times a day. I’m not sure what triggers it.

demon lowered the priority of this task from Medium to Low.Jun 11 2015, 4:35 PM
demon raised the priority of this task from Low to High.
demon lowered the priority of this task from High to Low.
demon subscribed.

I believe this was the bug fixed by this pull request and was merged into 1.24+.
https://gerrit.wikimedia.org/r/#/c/59522/

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM