Page MenuHomePhabricator

InvalidArgumentException from line 238 of "ObjectFactory.php": Provided specification is not an array.
Closed, InvalidPublicBUG REPORT

Description

Setup

  • MediaWiki 1.34.1 (64676b5)
  • PHP 7.2.24-0ubuntu0.18.04.4 (apache2handler)
  • MariaDB 10.1.44-MariaDB-0ubuntu0.18.04.1

Issue
When trying to access special page "SpecialPages" I get the following error:

[e089edda4e1ca9638d2dd9a8] /wiki/Sp%C3%A9cial:Pages_sp%C3%A9ciales InvalidArgumentException from line 238 of /../w/vendor/wikimedia/object-factory/src/ObjectFactory.php: Provided specification is not an array.

Backtrace

#0 /../w/vendor/wikimedia/object-factory/src/ObjectFactory.php(131): Wikimedia\ObjectFactory::validateSpec(string, array)
#1 /../w/vendor/wikimedia/object-factory/src/ObjectFactory.php(102): Wikimedia\ObjectFactory::getObjectFromSpec(string, array)
#2 /../w/includes/specialpage/SpecialPageFactory.php(447): Wikimedia\ObjectFactory->createObject(string, array)
#3 /../w/includes/specialpage/SpecialPageFactory.php(478): MediaWiki\Special\SpecialPageFactory->getPage(string)
#4 /../w/includes/specials/SpecialSpecialpages.php(56): MediaWiki\Special\SpecialPageFactory->getUsablePages(User)
#5 /../w/includes/specials/SpecialSpecialpages.php(44): SpecialSpecialpages->getPageGroups()
#6 /../w/includes/specialpage/SpecialPage.php(575): SpecialSpecialpages->execute(NULL)
#7 /../w/includes/specialpage/SpecialPageFactory.php(611): SpecialPage->run(NULL)
#8 /../w/includes/MediaWiki.php(296): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#9 /../w/includes/MediaWiki.php(900): MediaWiki->performRequest()
#10 /../w/includes/MediaWiki.php(527): MediaWiki->main()
#11 /../w/index.php(44): MediaWiki->run()
#12 {main}

Event Timeline

RhinosF1 changed the subtype of this task from "Task" to "Production Error".Apr 18 2020, 9:26 PM
RhinosF1 changed the subtype of this task from "Production Error" to "Bug Report".

Not really enough to help here... Could quite easily be the fault of an extension...

Oh, I really love this. In only had to go though 95 extensions to track done the transgressing one.