Page MenuHomePhabricator

Notice: undefined index: 2
Closed, ResolvedPublic

Description

Notice: Undefined index: 2 in /srv/mediawiki/extensions/PageImages/PageImages.body.php on line 95

#0 PageImages::calcWidth(), called at [/srv/mediawiki/extensions/PageImages/PageImages.body.php:65]
#1 PageImages::onParserMakeImageParams(), called at [/srv/mediawiki/includes/Hooks.php:206]
#2 Hooks::run(), called at [/srv/mediawiki/includes/GlobalFunctions.php:4056]
#3 wfRunHooks(), called at [/srv/mediawiki/includes/parser/Parser.php:5619]
#4 Parser->makeImage(), called at [/srv/mediawiki/includes/parser/Parser.php:2135]
#5 Parser->replaceInternalLinks2(), called at [/srv/mediawiki/includes/parser/Parser.php:1866]
#6 Parser->replaceInternalLinks(), called at [/srv/mediawiki/includes/parser/Parser.php:1262]
#7 Parser->internalParse(), called at [/srv/mediawiki/includes/parser/Parser.php:405]
#8 Parser->parse(), called at [/srv/mediawiki/tests/phpunit/includes/parser/NewParserTest.php:725]
#9 NewParserTest->testParserTest(), called at [:0]
#10 ReflectionMethod->invokeArgs(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestCase.php:951]
#11 PHPUnit_Framework_TestCase->runTest(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestCase.php:817]
#12 PHPUnit_Framework_TestCase->runBare(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestResult.php:686]
#13 PHPUnit_Framework_TestResult->run(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestCase.php:753]
#14 PHPUnit_Framework_TestCase->run(), called at [/srv/mediawiki/tests/phpunit/MediaWikiTestCase.php:133]
#15 MediaWikiTestCase->run(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675]
#16 PHPUnit_Framework_TestSuite->run(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675]
#17 PHPUnit_Framework_TestSuite->run(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675]
#18 PHPUnit_Framework_TestSuite->run(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675]
#19 PHPUnit_Framework_TestSuite->run(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675]
#20 PHPUnit_Framework_TestSuite->run(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:426]
#21 PHPUnit_TextUI_TestRunner->doRun(), called at [/srv/mediawiki/vendor/phpunit/phpunit/src/TextUI/Command.php:179]
#22 PHPUnit_TextUI_Command->run(), called at [/srv/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42]
#23 MediaWikiPHPUnitCommand::main(), called at [/srv/mediawiki/tests/phpunit/phpunit.php:160]

Version: master
Severity: normal

Details

Reference
bz67046

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:37 AM
bzimport added a project: PageImages.
bzimport set Reference to bz67046.
bzimport added a subscriber: Unknown Object (MLST).
ori created this task.Jun 24 2014, 7:00 PM

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/TSPguFMo

ori added a comment.Jun 24 2014, 7:40 PM

It might be NewParserTest.php in core tampering with $wgThumbLimits (line 393)

Lol, it's due to mismatching configuration...

Change 141833 had a related patch set uploaded by MaxSem:
FIx undefined index notice during parser tests

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

Change 141833 merged by jenkins-bot:
FIx undefined index notice during parser tests

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

Pacth merged; assuming this bug is FIXED.
If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.