Page MenuHomePhabricator

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

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

zeljkofilipin triaged this task as Unbreak Now! priority.Mar 21 2019, 11:31 PM
zeljkofilipin subscribed.

Train blockers are UBN!

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

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.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:07 PM