Page MenuHomePhabricator

Bad value for parameter $dbkey: must be a string
Closed, DuplicatePublicPRODUCTION ERROR

Description

2016-05-31 22:03:00 [V04KDwpAEEsAAH25rzEAAABW] mw1095 mediawikiwiki 1.28.0-wmf.4 exception ERROR: [V04KDwpAEEsAAH25rzEAAABW] /wiki/MediaWiki-Vagrant   Wikimedia\Assert\ParameterTypeException from line 89 of /srv/mediawiki/php-1.28.0-wmf.4/vendor/wikimedia/assert/src/Assert.php: Bad value for parameter $dbkey: must be a string {"exception_id":"V04KDwpAEEsAAH25rzEAAABW"} 
[Exception Wikimedia\Assert\ParameterTypeException] (/srv/mediawiki/php-1.28.0-wmf.4/vendor/wikimedia/assert/src/Assert.php:89) Bad value for parameter $dbkey: must be a string
  #0 /srv/mediawiki/php-1.28.0-wmf.4/includes/title/TitleValue.php(76): Wikimedia\Assert\Assert::parameterType(string, integer, string)
  #1 /srv/mediawiki/php-1.28.0-wmf.4/includes/cache/LinkBatch.php(171): TitleValue->__construct(integer, integer)
  #2 /srv/mediawiki/php-1.28.0-wmf.4/includes/cache/LinkBatch.php(135): LinkBatch->addResultToCache(LinkCache, ResultWrapper)
  #3 /srv/mediawiki/php-1.28.0-wmf.4/includes/cache/LinkBatch.php(122): LinkBatch->executeInto(LinkCache)
  #4 /srv/mediawiki/php-1.28.0-wmf.4/includes/skins/Skin.php(228): LinkBatch->execute()
  #5 /srv/mediawiki/php-1.28.0-wmf.4/includes/skins/Skin.php(146): Skin->preloadExistence()
  #6 /srv/mediawiki/php-1.28.0-wmf.4/skins/Vector/SkinVector.php(47): Skin->initPage(OutputPage)
  #7 /srv/mediawiki/php-1.28.0-wmf.4/includes/skins/SkinTemplate.php(245): SkinVector->initPage(OutputPage)
  #8 /srv/mediawiki/php-1.28.0-wmf.4/includes/OutputPage.php(2324): SkinTemplate->outputPage()
  #9 /srv/mediawiki/php-1.28.0-wmf.4/includes/MediaWiki.php(754): OutputPage->output()
  #10 /srv/mediawiki/php-1.28.0-wmf.4/includes/MediaWiki.php(520): MediaWiki->main()
  #11 /srv/mediawiki/php-1.28.0-wmf.4/index.php(43): MediaWiki->run()
  #12 /srv/mediawiki/w/index.php(3): include(string)
  #13 {main}

Event Timeline

I'm a little stumped with the traceback. All the titles created by Skin::preloadExistence() should be legit, and I don't see a way that Title::getDBkey() could return a non-string value?

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