Page MenuHomePhabricator

PHP Warning: Invalid argument supplied for foreach()
Closed, InvalidPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Warning: Invalid argument supplied for foreach()
exception.trace
from /srv/mediawiki/php-1.37.0-wmf.1/extensions/MassMessage/includes/SpecialMassMessage.php(291)
#0 /srv/mediawiki/php-1.37.0-wmf.1/extensions/MassMessage/includes/SpecialMassMessage.php(291): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.37.0-wmf.1/extensions/MassMessage/includes/SpecialMassMessage.php(388): MediaWiki\MassMessage\SpecialMassMessage->getUnclosedTags(string)
#2 /srv/mediawiki/php-1.37.0-wmf.1/extensions/MassMessage/includes/SpecialMassMessage.php(246): MediaWiki\MassMessage\SpecialMassMessage->preview(array)
#3 /srv/mediawiki/php-1.37.0-wmf.1/includes/htmlform/HTMLForm.php(715): MediaWiki\MassMessage\SpecialMassMessage->callback(array, HTMLForm)
#4 /srv/mediawiki/php-1.37.0-wmf.1/includes/htmlform/HTMLForm.php(605): HTMLForm->trySubmit()
#5 /srv/mediawiki/php-1.37.0-wmf.1/extensions/MassMessage/includes/SpecialMassMessage.php(93): HTMLForm->tryAuthorizedSubmit()
#6 /srv/mediawiki/php-1.37.0-wmf.1/includes/specialpage/SpecialPage.php(646): MediaWiki\MassMessage\SpecialMassMessage->execute(NULL)
#7 /srv/mediawiki/php-1.37.0-wmf.1/includes/specialpage/SpecialPageFactory.php(1381): SpecialPage->run(NULL)
#8 /srv/mediawiki/php-1.37.0-wmf.1/includes/MediaWiki.php(313): MediaWiki\SpecialPage\SpecialPageFactory->executePath(Title, RequestContext)
#9 /srv/mediawiki/php-1.37.0-wmf.1/includes/MediaWiki.php(916): MediaWiki->performRequest()
#10 /srv/mediawiki/php-1.37.0-wmf.1/includes/MediaWiki.php(550): MediaWiki->main()
#11 /srv/mediawiki/php-1.37.0-wmf.1/index.php(53): MediaWiki->run()
#12 /srv/mediawiki/php-1.37.0-wmf.1/index.php(46): wfIndexMain()
#13 /srv/mediawiki/w/index.php(3): require(string)
#14 {main}
Impact

Low. Happened three time recently. However, smells of a programming error.

Notes

Details

Request URL
https://meta.wikimedia.org/wiki/Special:MassMessage