Error
- mwversion: 1.37.0-wmf.11
- reqId: 8345cdef-e0d3-4b99-accd-57164c5646fc
- Find reqId in Logstash
- Find normalized_message in Logstash
[{reqId}] {exception_url} PHP Notice: Undefined index: frameCount
from /srv/mediawiki/php-1.37.0-wmf.11/includes/media/PNGHandler.php(153) #0 /srv/mediawiki/php-1.37.0-wmf.11/includes/media/PNGHandler.php(153): MWExceptionHandler::handleError(integer, string, string, integer, array) #1 /srv/mediawiki/php-1.37.0-wmf.11/includes/filerepo/file/File.php(2388): PNGHandler->getLongDesc(LocalFile) #2 /srv/mediawiki/php-1.37.0-wmf.11/includes/page/ImagePage.php(518): File->getLongDesc() #3 /srv/mediawiki/php-1.37.0-wmf.11/includes/page/ImagePage.php(142): ImagePage->openShowImage() #4 /srv/mediawiki/php-1.37.0-wmf.11/includes/actions/ViewAction.php(74): ImagePage->view() #5 /srv/mediawiki/php-1.37.0-wmf.11/includes/MediaWiki.php(536): ViewAction->show() #6 /srv/mediawiki/php-1.37.0-wmf.11/includes/MediaWiki.php(320): MediaWiki->performAction(ImagePage, Title) #7 /srv/mediawiki/php-1.37.0-wmf.11/includes/MediaWiki.php(917): MediaWiki->performRequest() #8 /srv/mediawiki/php-1.37.0-wmf.11/includes/MediaWiki.php(551): MediaWiki->main() #9 /srv/mediawiki/php-1.37.0-wmf.11/index.php(53): MediaWiki->run() #10 /srv/mediawiki/php-1.37.0-wmf.11/index.php(46): wfIndexMain() #11 /srv/mediawiki/w/index.php(3): require(string) #12 {main}
Impact
No user-facing impact, however a significant increase in log spam during group1 promotion of 1.37.0-wmf.11. Set to UBN as it blocks train.
Notes
Possibly related to risky patch https://gerrit.wikimedia.org/r/c/mediawiki/core/+/693298 noted in T281152: 1.37.0-wmf.11 deployment blockers. A similar report already exists as T173360: PHP Notice: Undefined index: frameCount but backtrace differs possibly due to refactoring.