Page MenuHomePhabricator

Fatal Error from SpecialEntityData.php: Argument 9 passed to EntityDataRequestHandler must be array
Closed, InvalidPublic

Description

Error

Request ID: XJPouQpAAEIAACTbZjsAAABC

message
PHP Fatal Error: Argument 9 passed to Wikibase\Repo\LinkedData\EntityDataRequestHandler::__construct() must be an instance of array, null given
trace
#0 /srv/mediawiki/php-1.33.0-wmf.22/extensions/Wikibase/repo/includes/Specials/SpecialEntityData.php(136): NO_FUNCTION_GIVEN()
#1 /srv/mediawiki/php-1.33.0-wmf.22/extensions/Wikibase/repo/includes/Specials/SpecialEntityData.php(65): Wikibase\Repo\Specials\SpecialEntityData->newDefaultRequestHandler()
#2 /srv/mediawiki/php-1.33.0-wmf.22/extensions/Wikibase/repo/includes/Specials/SpecialEntityData.php(147): Wikibase\Repo\Specials\SpecialEntityData->initDependencies()
#3 /srv/mediawiki/php-1.33.0-wmf.22/includes/specialpage/SpecialPage.php(569): Wikibase\Repo\Specials\SpecialEntityData->execute(string)
#4 /srv/mediawiki/php-1.33.0-wmf.22/includes/specialpage/SpecialPageFactory.php(558): SpecialPage->run(string)
#5 /srv/mediawiki/php-1.33.0-wmf.22/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#6 /srv/mediawiki/php-1.33.0-wmf.22/includes/MediaWiki.php(867): MediaWiki->performRequest()
#7 /srv/mediawiki/php-1.33.0-wmf.22/includes/MediaWiki.php(517): MediaWiki->main()
#8 /srv/mediawiki/php-1.33.0-wmf.22/index.php(42): MediaWiki->run()
#9 /srv/mediawiki/w/index.php(3): include(string)

Impact

Unknown.

Notes

Appears to be specific to www.wikidata.org. Only observed on the new 1.33-wmf.22 branch.

Event Timeline

Krinkle created this task.Mar 21 2019, 9:02 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 21 2019, 9:02 PM
zeljkofilipin triaged this task as Unbreak Now! priority.Mar 21 2019, 11:31 PM
zeljkofilipin added a subscriber: zeljkofilipin.

Train blockers are UBN!

Restricted Application added subscribers: Liuxinyu970226, TerraCodes. · View Herald TranscriptMar 21 2019, 11:31 PM

Argument #9 of EntityDataRequestHandler::__construct() is $entityTypesWithoutRdfOutput, so I suspect this may be related to the fix for T213483.

Restricted Application added a project: User-Addshore. · View Herald TranscriptMar 22 2019, 12:58 PM
Addshore closed this task as Invalid.Mar 22 2019, 1:04 PM

It looks like this was an odd case of 3 servers not realizing that they had the latest config?

This only happened on 3 requests.

https://logstash.wikimedia.org/goto/c530d36818f01ec2a7f4cfa86634c56f

All requests are working fine now.

I also double checked the code and config and this should never happen in the first place.

Restricted Application removed a subscriber: Liuxinyu970226. · View Herald TranscriptMar 22 2019, 1:04 PM