Page MenuHomePhabricator

PHP Warning: Undefined array key 1
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
  • mwversion: 1.45.0-wmf.11
  • timestamp: 2025-07-29T02:33:49.120Z
  • phpversion: 8.1.33
  • reqId: d51a26b5-9131-40a0-9e30-cff65e54909e
  • Find reqId in Logstash
normalized_message
[{reqId}] {exception_url}   PHP Warning: Undefined array key 1
FrameLocationCall
from/srv/mediawiki/php-1.45.0-wmf.11/extensions/SecurePoll/includes/Pages/TallyListPage.php(418)
#0/srv/mediawiki/php-1.45.0-wmf.11/extensions/SecurePoll/includes/Pages/TallyListPage.php(418)MediaWiki\Exception\MWExceptionHandler::handleError(int, string, string, int)
#1/srv/mediawiki/php-1.45.0-wmf.11/extensions/SecurePoll/includes/Pages/TallyListPage.php(131)MediaWiki\Extension\SecurePoll\Pages\TallyListPage->submitJob(MediaWiki\Extension\SecurePoll\Entities\Election, array)
#2/srv/mediawiki/php-1.45.0-wmf.11/includes/htmlform/HTMLForm.php(825)MediaWiki\Extension\SecurePoll\Pages\TallyListPage->submitForm(array, MediaWiki\HTMLForm\OOUIHTMLForm)
#3/srv/mediawiki/php-1.45.0-wmf.11/includes/htmlform/HTMLForm.php(706)MediaWiki\HTMLForm\HTMLForm->trySubmit()
#4/srv/mediawiki/php-1.45.0-wmf.11/includes/htmlform/HTMLForm.php(722)MediaWiki\HTMLForm\HTMLForm->tryAuthorizedSubmit()
#5/srv/mediawiki/php-1.45.0-wmf.11/extensions/SecurePoll/includes/Pages/TallyListPage.php(105)MediaWiki\HTMLForm\HTMLForm->show()
#6/srv/mediawiki/php-1.45.0-wmf.11/extensions/SecurePoll/includes/SpecialSecurePoll.php(70)MediaWiki\Extension\SecurePoll\Pages\TallyListPage->execute(array)
#7/srv/mediawiki/php-1.45.0-wmf.11/includes/specialpage/SpecialPage.php(725)MediaWiki\Extension\SecurePoll\SpecialSecurePoll->execute(string)
#8/srv/mediawiki/php-1.45.0-wmf.11/includes/specialpage/SpecialPageFactory.php(1724)MediaWiki\SpecialPage\SpecialPage->run(string)
#9/srv/mediawiki/php-1.45.0-wmf.11/includes/actions/ActionEntryPoint.php(499)MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext)
#10/srv/mediawiki/php-1.45.0-wmf.11/includes/actions/ActionEntryPoint.php(143)MediaWiki\Actions\ActionEntryPoint->performRequest()
#11/srv/mediawiki/php-1.45.0-wmf.11/includes/MediaWikiEntryPoint.php(198)MediaWiki\Actions\ActionEntryPoint->execute()
#12/srv/mediawiki/php-1.45.0-wmf.11/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#13/srv/mediawiki/w/index.php(3)require(string)
#14{main}
Impact
Notes

Details

Request URL
https://vote.wikimedia.org/wiki/Special:SecurePoll/tallies/1854
Related Changes in Gerrit:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1174667 had a related patch set uploaded (by STran; author: STran):

[mediawiki/extensions/SecurePoll@master] Improve array handling when transforming modifer data in TallyListPage

https://gerrit.wikimedia.org/r/1174667

Change #1174667 merged by jenkins-bot:

[mediawiki/extensions/SecurePoll@master] Improve array handling when transforming modifer data in TallyListPage

https://gerrit.wikimedia.org/r/1174667

Seems to have been fixed by the above patch. No occurrences in logstash since July 31.