2023/06/23: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(Created page with "{{subpage/date}} Trying to figure out why MediaWiki is spurning the extension-shell I've created... here's the error: /mw/Special:SpecialPages InvalidArgumentException: Provided specification is a string, not an array. Backtrace: <poem> from /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(302) #0 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(177): {{l/nspace|Wikimedia\ObjectFactory\...")
 
No edit summary
Line 7: Line 7:


<poem>
<poem>
from /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(302)
from [https://github.com/wikimedia/mediawiki-libs-ObjectFactory/blob/master/src/ObjectFactory.php#L302 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(302)]
  #0 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(177): {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}::validateSpec()
  #0 [https://github.com/wikimedia/mediawiki-libs-ObjectFactory/blob/master/src/ObjectFactory.php#L177 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(177)]: {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}::validateSpec()
  #1 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(152): {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}::getObjectFromSpec()
  #1 [https://github.com/wikimedia/mediawiki-libs-ObjectFactory/blob/master/src/ObjectFactory.php#L152 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(152)]: {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}::getObjectFromSpec()
  #2 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1283): {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}->createObject()
  #2 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1283): {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}->createObject()
  #3 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1318): {{l/nspace|MediaWiki\SpecialPage\SpecialPageFactory}}->getPage()
  #3 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1318): {{l/nspace|MediaWiki\SpecialPage\SpecialPageFactory}}->getPage()

Revision as of 01:00, 24 June 2023

2023/06/22 2023/06/23 2023/06/24

Trying to figure out why MediaWiki is spurning the extension-shell I've created... here's the error:

/mw/Special:SpecialPages InvalidArgumentException: Provided specification is a string, not an array.

Backtrace:

from /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(302)
 #0 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(177): Wikimedia\ObjectFactory\ObjectFactory::validateSpec()
 #1 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(152): Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec()
 #2 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1283): Wikimedia\ObjectFactory\ObjectFactory->createObject()
 #3 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1318): MediaWiki\SpecialPage\SpecialPageFactory->getPage()
 #4 /var/www/site/mw/mediawiki-1.39.3/includes/specials/SpecialSpecialpages.php(53): MediaWiki\SpecialPage\SpecialPageFactory->getUsablePages()
 #5 /var/www/site/mw/mediawiki-1.39.3/includes/specials/SpecialSpecialpages.php(42): SpecialSpecialpages->getPageGroups()
 #6 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPage.php(701): SpecialSpecialpages->execute()
 #7 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1432): SpecialPage->run()
 #8 /var/www/site/mw/mediawiki-1.39.3/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
 #9 /var/www/site/mw/mediawiki-1.39.3/includes/MediaWiki.php(904): MediaWiki->performRequest()
 #10 /var/www/site/mw/mediawiki-1.39.3/includes/MediaWiki.php(562): MediaWiki->main()
 #11 /var/www/site/mw/mediawiki-1.39.3/index.php(50): MediaWiki->run()
 #12 /var/www/site/mw/mediawiki-1.39.3/index.php(46): wfIndexMain()
 #13 {main}