Error
Request ID: XUGdgwpAIDwAAA3dweYAAABE
Request URL: /w/api.php
PHP Notice: Undefined index: (this means the key was '', empty string)
#0 /srv/mediawiki/php-1.34.0-wmf.15/includes/resourceloader/ResourceLoaderWikiModule.php(394): MWExceptionHandler::handleError(integer, string, string, integer, array) #1 /srv/mediawiki/php-1.34.0-wmf.15/includes/resourceloader/ResourceLoaderWikiModule.php(347): ResourceLoaderWikiModule->getTitleInfo(DerivativeResourceLoaderContext) #2 /srv/mediawiki/php-1.34.0-wmf.15/includes/resourceloader/ResourceLoaderClientHtml.php(146): ResourceLoaderWikiModule->isKnownEmpty(DerivativeResourceLoaderContext) #3 /srv/mediawiki/php-1.34.0-wmf.15/includes/resourceloader/ResourceLoaderClientHtml.php(326): ResourceLoaderClientHtml->getData() #4 /srv/mediawiki/php-1.34.0-wmf.15/includes/OutputPage.php(3159): ResourceLoaderClientHtml->getBodyHtml() #5 /srv/mediawiki/php-1.34.0-wmf.15/includes/skins/Skin.php(683): OutputPage->getBottomScripts() #6 /srv/mediawiki/php-1.34.0-wmf.15/includes/skins/SkinTemplate.php(457): Skin->bottomScripts() #7 /srv/mediawiki/php-1.34.0-wmf.15/includes/skins/SkinTemplate.php(217): SkinTemplate->prepareQuickTemplate() #8 /srv/mediawiki/php-1.34.0-wmf.15/includes/OutputPage.php(2580): SkinTemplate->outputPage() #9 /srv/mediawiki/php-1.34.0-wmf.15/includes/api/ApiHelp.php(56): OutputPage->output() #10 /srv/mediawiki/php-1.34.0-wmf.15/includes/api/ApiMain.php(1583): ApiHelp->execute() #11 /srv/mediawiki/php-1.34.0-wmf.15/includes/api/ApiMain.php(531): ApiMain->executeAction() #12 /srv/mediawiki/php-1.34.0-wmf.15/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling() #13 /srv/mediawiki/php-1.34.0-wmf.15/api.php(86): ApiMain->execute() #14 /srv/mediawiki/w/api.php(3): require(string)
Impact
Limited corruption within the PHP process. Not persisted in DB or Memcached.
Affects only every few backend requests.
But, it affects version hashes (via getDefinitionSummary), and is Varnish. This means the more rare the error is, the worse it is. If it was a common error that affects all servers, they would all agree on the hash. But given they don't this means that if the rare response ends up Varnish, all browsers will refuse caching certain modules due to the hash not matching with other backend responses.
Notes
The same requests also have a second error logged shorter further on, which is a side-effect of the first one being non-fatal in the PHP engine.
PHP Warning: count(): Parameter must be an array or an object that implements Countable #0 /srv/mediawiki/php-1.34.0-wmf.15/includes/resourceloader/ResourceLoaderWikiModule.php(367): MWExceptionHandler::handleError(integer, string, string, integer, array) #1 /srv/mediawiki/php-1.34.0-wmf.15/includes/resourceloader/ResourceLoaderClientHtml.php(146): ResourceLoaderWikiModule->isKnownEmpty(DerivativeResourceLoaderContext) …