Page MenuHomePhabricator

PHP Warning: Attempt to read property "fields" on null
Closed, ResolvedPublicPRODUCTION ERROR

Description

Notes

The following triple of errors have been emitted from JCLuaLibrary.php slow and steadily since 2025-05-27 ~03:30 UTC (i.e., when wmf.3 rolled out to testwikis).

Domains:
test.wikipedia.org
www.mediawiki.org
commons.wikimedia.org
meta.wikimedia.org

Error 1
normalized_message
[{reqId}] {exception_url}   PHP Warning: Attempt to read property "fields" on null
FrameLocationCall
from/srv/mediawiki/php-1.45.0-wmf.3/extensions/JsonConfig/includes/JCLuaLibrary.php(105)
#0/srv/mediawiki/php-1.45.0-wmf.3/extensions/JsonConfig/includes/JCLuaLibrary.php(105)MediaWiki\Exception\MWExceptionHandler::handleError(int, string, string, int)
#1/srv/mediawiki/php-1.45.0-wmf.3/extensions/JsonConfig/includes/JCLuaLibrary.php(71)JsonConfig\JCLuaLibrary::reindexTabularData(null)
#2/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaSandbox/LuaSandboxCallback.php(31)JsonConfig\JCLuaLibrary->get(string, null)
#3[internal function]MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback->__call(string, array)
#4/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaSandbox/LuaSandboxInterpreter.php(137)LuaSandboxFunction->call(LuaSandboxFunction)
#5/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaCommon/LuaEngine.php(313)MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction)
#6/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaCommon/LuaModule.php(76)MediaWiki\Extension\Scribunto\Engines\LuaCommon\LuaEngine->executeFunctionChunk(LuaSandboxFunction, MediaWiki\Parser\PPTemplateFrame_Hash)
#7/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Hooks.php(184)MediaWiki\Extension\Scribunto\Engines\LuaCommon\LuaModule->invoke(string, MediaWiki\Parser\PPTemplateFrame_Hash)
#8/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3504)MediaWiki\Extension\Scribunto\Hooks->invokeHook(MediaWiki\Parser\Parser, MediaWiki\Parser\PPTemplateFrame_Hash, array)
#9/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3160)MediaWiki\Parser\Parser->callParserFunction(MediaWiki\Parser\PPTemplateFrame_Hash, string, array, bool)
#10/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(280)MediaWiki\Parser\Parser->braceSubstitution(array, MediaWiki\Parser\PPTemplateFrame_Hash)
#11/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3360)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree)
#12/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(280)MediaWiki\Parser\Parser->braceSubstitution(array, MediaWiki\Parser\PPFrame_Hash)
#13/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(2982)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree, int)
#14/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(1618)MediaWiki\Parser\Parser->replaceVariables(string)
#15/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(876)MediaWiki\Parser\Parser->internalParse(string, bool, bool)
#16/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/ReferenceListFormatter.php(52)MediaWiki\Parser\Parser->recursiveTagParse(string)
#17/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/Cite.php(310)Cite\ReferenceListFormatter->formatReferences(MediaWiki\Parser\Parser, array, bool, bool)
#18/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/Cite.php(231)Cite\Cite->formatReferences(MediaWiki\Parser\Parser, string, null)
#19/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/Hooks/CiteParserTagHooks.php(79)Cite\Cite->references(MediaWiki\Parser\Parser, null, array)
#20/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(4091)Cite\Hooks\CiteParserTagHooks->references(null, array, MediaWiki\Parser\Parser, MediaWiki\Parser\PPTemplateFrame_Hash)
#21/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(362)MediaWiki\Parser\Parser->extensionSubstitution(array, MediaWiki\Parser\PPTemplateFrame_Hash, bool)
#22/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPTemplateFrame_Hash.php(100)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree, int)
#23/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3357)MediaWiki\Parser\PPTemplateFrame_Hash->cachedExpand(string, MediaWiki\Parser\PPNode_Hash_Tree)
#24/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(280)MediaWiki\Parser\Parser->braceSubstitution(array, MediaWiki\Parser\PPFrame_Hash)
#25/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(2982)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree, int)
#26/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(1618)MediaWiki\Parser\Parser->replaceVariables(string)
#27/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(705)MediaWiki\Parser\Parser->internalParse(string)
#28/srv/mediawiki/php-1.45.0-wmf.3/includes/content/WikitextContentHandler.php(380)MediaWiki\Parser\Parser->parse(string, MediaWiki\Title\Title, MediaWiki\Parser\ParserOptions, bool, bool, int)
#29/srv/mediawiki/php-1.45.0-wmf.3/includes/content/ContentHandler.php(1693)MediaWiki\Content\WikitextContentHandler->fillParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Content\Renderer\ContentParseParams, MediaWiki\Parser\ParserOutput)
#30/srv/mediawiki/php-1.45.0-wmf.3/includes/content/Renderer/ContentRenderer.php(75)MediaWiki\Content\ContentHandler->getParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Content\Renderer\ContentParseParams)
#31/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RenderedRevision.php(261)MediaWiki\Content\Renderer\ContentRenderer->getParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Page\PageIdentityValue, MediaWiki\Revision\RevisionStoreRecord, MediaWiki\Parser\ParserOptions, array)
#32/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RenderedRevision.php(233)MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(MediaWiki\Content\WikitextContent, array)
#33/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RevisionRenderer.php(236)MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string, array)
#34/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RevisionRenderer.php(169)MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, MediaWiki\Parser\ParserOptions, array)
#35/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RenderedRevision.php(196)MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#36/srv/mediawiki/php-1.45.0-wmf.3/includes/page/ParserOutputAccess.php(454)MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#37/srv/mediawiki/php-1.45.0-wmf.3/includes/page/ParserOutputAccess.php(364)MediaWiki\Page\ParserOutputAccess->renderRevision(MediaWiki\Page\WikiPage, MediaWiki\Parser\ParserOptions, MediaWiki\Revision\RevisionStoreRecord, int, null)
#38/srv/mediawiki/php-1.45.0-wmf.3/includes/diff/DifferenceEngine.php(1276)MediaWiki\Page\ParserOutputAccess->getParserOutput(MediaWiki\Page\WikiPage, MediaWiki\Parser\ParserOptions, MediaWiki\Revision\RevisionStoreRecord, int)
#39/srv/mediawiki/php-1.45.0-wmf.3/includes/diff/DifferenceEngine.php(1061)DifferenceEngine->renderNewRevision()
#40/srv/mediawiki/php-1.45.0-wmf.3/includes/page/Article.php(1078)DifferenceEngine->showDiffPage(bool)
#41/srv/mediawiki/php-1.45.0-wmf.3/includes/page/Article.php(488)MediaWiki\Page\Article->showDiffPage()
#42/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ViewAction.php(80)MediaWiki\Page\Article->view()
#43/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ActionEntryPoint.php(728)MediaWiki\Actions\ViewAction->show()
#44/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ActionEntryPoint.php(505)MediaWiki\Actions\ActionEntryPoint->performAction(MediaWiki\Page\Article, MediaWiki\Title\Title)
#45/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ActionEntryPoint.php(143)MediaWiki\Actions\ActionEntryPoint->performRequest()
#46/srv/mediawiki/php-1.45.0-wmf.3/includes/MediaWikiEntryPoint.php(198)MediaWiki\Actions\ActionEntryPoint->execute()
#47/srv/mediawiki/php-1.45.0-wmf.3/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#48/srv/mediawiki/w/index.php(3)require(string)
#49{main}

Error 2

Error
normalized_message
[{reqId}] {exception_url}   PHP Warning: Attempt to read property "schema" on null
FrameLocationCall
from/srv/mediawiki/php-1.45.0-wmf.3/extensions/JsonConfig/includes/JCLuaLibrary.php(105)
#0/srv/mediawiki/php-1.45.0-wmf.3/extensions/JsonConfig/includes/JCLuaLibrary.php(105)MediaWiki\Exception\MWExceptionHandler::handleError(int, string, string, int)
#1/srv/mediawiki/php-1.45.0-wmf.3/extensions/JsonConfig/includes/JCLuaLibrary.php(71)JsonConfig\JCLuaLibrary::reindexTabularData(null)
#2/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaSandbox/LuaSandboxCallback.php(31)JsonConfig\JCLuaLibrary->get(string, null)
#3[internal function]MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback->__call(string, array)
#4/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaSandbox/LuaSandboxInterpreter.php(137)LuaSandboxFunction->call(LuaSandboxFunction)
#5/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaCommon/LuaEngine.php(313)MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction)
#6/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaCommon/LuaModule.php(76)MediaWiki\Extension\Scribunto\Engines\LuaCommon\LuaEngine->executeFunctionChunk(LuaSandboxFunction, MediaWiki\Parser\PPTemplateFrame_Hash)
#7/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Hooks.php(184)MediaWiki\Extension\Scribunto\Engines\LuaCommon\LuaModule->invoke(string, MediaWiki\Parser\PPTemplateFrame_Hash)
#8/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3504)MediaWiki\Extension\Scribunto\Hooks->invokeHook(MediaWiki\Parser\Parser, MediaWiki\Parser\PPTemplateFrame_Hash, array)
#9/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3160)MediaWiki\Parser\Parser->callParserFunction(MediaWiki\Parser\PPTemplateFrame_Hash, string, array, bool)
#10/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(280)MediaWiki\Parser\Parser->braceSubstitution(array, MediaWiki\Parser\PPTemplateFrame_Hash)
#11/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3360)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree)
#12/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(280)MediaWiki\Parser\Parser->braceSubstitution(array, MediaWiki\Parser\PPFrame_Hash)
#13/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(2982)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree, int)
#14/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(1618)MediaWiki\Parser\Parser->replaceVariables(string)
#15/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(876)MediaWiki\Parser\Parser->internalParse(string, bool, bool)
#16/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/ReferenceListFormatter.php(52)MediaWiki\Parser\Parser->recursiveTagParse(string)
#17/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/Cite.php(310)Cite\ReferenceListFormatter->formatReferences(MediaWiki\Parser\Parser, array, bool, bool)
#18/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/Cite.php(231)Cite\Cite->formatReferences(MediaWiki\Parser\Parser, string, string)
#19/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/Hooks/CiteParserTagHooks.php(79)Cite\Cite->references(MediaWiki\Parser\Parser, string, array)
#20/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(4091)Cite\Hooks\CiteParserTagHooks->references(string, array, MediaWiki\Parser\Parser, MediaWiki\Parser\PPTemplateFrame_Hash)
#21/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/CoreParserFunctions.php(1331)MediaWiki\Parser\Parser->extensionSubstitution(array, MediaWiki\Parser\PPTemplateFrame_Hash)
#22/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3504)MediaWiki\Parser\CoreParserFunctions::tagObj(MediaWiki\Parser\Parser, MediaWiki\Parser\PPTemplateFrame_Hash, array)
#23/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3160)MediaWiki\Parser\Parser->callParserFunction(MediaWiki\Parser\PPTemplateFrame_Hash, string, array, bool)
#24/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(280)MediaWiki\Parser\Parser->braceSubstitution(array, MediaWiki\Parser\PPTemplateFrame_Hash)
#25/srv/mediawiki/php-1.45.0-wmf.3/extensions/ParserFunctions/includes/ParserFunctions.php(137)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree)
#26/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3504)MediaWiki\Extension\ParserFunctions\ParserFunctions->if(MediaWiki\Parser\Parser, MediaWiki\Parser\PPTemplateFrame_Hash, array)
#27/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3160)MediaWiki\Parser\Parser->callParserFunction(MediaWiki\Parser\PPTemplateFrame_Hash, string, array, bool)
#28/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(280)MediaWiki\Parser\Parser->braceSubstitution(array, MediaWiki\Parser\PPTemplateFrame_Hash)
#29/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPTemplateFrame_Hash.php(100)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree, int)
#30/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3357)MediaWiki\Parser\PPTemplateFrame_Hash->cachedExpand(string, MediaWiki\Parser\PPNode_Hash_Tree)
#31/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(280)MediaWiki\Parser\Parser->braceSubstitution(array, MediaWiki\Parser\PPFrame_Hash)
#32/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(2982)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree, int)
#33/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(1618)MediaWiki\Parser\Parser->replaceVariables(string)
#34/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(705)MediaWiki\Parser\Parser->internalParse(string)
#35/srv/mediawiki/php-1.45.0-wmf.3/includes/content/WikitextContentHandler.php(380)MediaWiki\Parser\Parser->parse(string, MediaWiki\Title\Title, MediaWiki\Parser\ParserOptions, bool, bool, int)
#36/srv/mediawiki/php-1.45.0-wmf.3/includes/content/ContentHandler.php(1693)MediaWiki\Content\WikitextContentHandler->fillParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Content\Renderer\ContentParseParams, MediaWiki\Parser\ParserOutput)
#37/srv/mediawiki/php-1.45.0-wmf.3/includes/content/Renderer/ContentRenderer.php(75)MediaWiki\Content\ContentHandler->getParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Content\Renderer\ContentParseParams)
#38/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RenderedRevision.php(261)MediaWiki\Content\Renderer\ContentRenderer->getParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Page\PageIdentityValue, MediaWiki\Revision\RevisionStoreRecord, MediaWiki\Parser\ParserOptions, array)
#39/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RenderedRevision.php(233)MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(MediaWiki\Content\WikitextContent, array)
#40/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RevisionRenderer.php(236)MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string, array)
#41/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RevisionRenderer.php(169)MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, MediaWiki\Parser\ParserOptions, array)
#42/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RenderedRevision.php(196)MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#43/srv/mediawiki/php-1.45.0-wmf.3/includes/poolcounter/PoolWorkArticleView.php(110)MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#44/srv/mediawiki/php-1.45.0-wmf.3/includes/poolcounter/PoolWorkArticleViewOld.php(87)MediaWiki\PoolCounter\PoolWorkArticleView->renderRevision(null, bool, string)
#45/srv/mediawiki/php-1.45.0-wmf.3/includes/poolcounter/PoolCounterWork.php(173)MediaWiki\PoolCounter\PoolWorkArticleViewOld->doWork()
#46/srv/mediawiki/php-1.45.0-wmf.3/includes/page/ParserOutputAccess.php(360)MediaWiki\PoolCounter\PoolCounterWork->execute()
#47/srv/mediawiki/php-1.45.0-wmf.3/includes/page/Article.php(835)MediaWiki\Page\ParserOutputAccess->getParserOutput(MediaWiki\Page\WikiPage, MediaWiki\Parser\ParserOptions, MediaWiki\Revision\RevisionStoreRecord, int)
#48/srv/mediawiki/php-1.45.0-wmf.3/includes/page/Article.php(551)MediaWiki\Page\Article->generateContentOutput(MediaWiki\User\User, MediaWiki\Parser\ParserOptions, int, MediaWiki\Output\OutputPage, array)
#49/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ViewAction.php(80)MediaWiki\Page\Article->view()
#50/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ActionEntryPoint.php(728)MediaWiki\Actions\ViewAction->show()
#51/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ActionEntryPoint.php(505)MediaWiki\Actions\ActionEntryPoint->performAction(MediaWiki\Page\Article, MediaWiki\Title\Title)
#52/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ActionEntryPoint.php(143)MediaWiki\Actions\ActionEntryPoint->performRequest()
#53/srv/mediawiki/php-1.45.0-wmf.3/includes/MediaWikiEntryPoint.php(198)MediaWiki\Actions\ActionEntryPoint->execute()
#54/srv/mediawiki/php-1.45.0-wmf.3/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#55/srv/mediawiki/w/index.php(3)require(string)
#56{main}

Error 3

Error
normalized_message
[{reqId}] {exception_url}   TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given
FrameLocationCall
from/srv/mediawiki/php-1.45.0-wmf.3/extensions/JsonConfig/includes/JCLuaLibrary.php(105)
#0/srv/mediawiki/php-1.45.0-wmf.3/extensions/JsonConfig/includes/JCLuaLibrary.php(105)count(null)
#1/srv/mediawiki/php-1.45.0-wmf.3/extensions/JsonConfig/includes/JCLuaLibrary.php(71)JsonConfig\JCLuaLibrary::reindexTabularData(null)
#2/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaSandbox/LuaSandboxCallback.php(31)JsonConfig\JCLuaLibrary->get(string, null)
#3[internal function]MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxCallback->__call(string, array)
#4/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaSandbox/LuaSandboxInterpreter.php(137)LuaSandboxFunction->call(LuaSandboxFunction)
#5/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaCommon/LuaEngine.php(313)MediaWiki\Extension\Scribunto\Engines\LuaSandbox\LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction)
#6/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Engines/LuaCommon/LuaModule.php(76)MediaWiki\Extension\Scribunto\Engines\LuaCommon\LuaEngine->executeFunctionChunk(LuaSandboxFunction, MediaWiki\Parser\PPTemplateFrame_Hash)
#7/srv/mediawiki/php-1.45.0-wmf.3/extensions/Scribunto/includes/Hooks.php(184)MediaWiki\Extension\Scribunto\Engines\LuaCommon\LuaModule->invoke(string, MediaWiki\Parser\PPTemplateFrame_Hash)
#8/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3504)MediaWiki\Extension\Scribunto\Hooks->invokeHook(MediaWiki\Parser\Parser, MediaWiki\Parser\PPTemplateFrame_Hash, array)
#9/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3160)MediaWiki\Parser\Parser->callParserFunction(MediaWiki\Parser\PPTemplateFrame_Hash, string, array, bool)
#10/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(280)MediaWiki\Parser\Parser->braceSubstitution(array, MediaWiki\Parser\PPTemplateFrame_Hash)
#11/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(3360)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree)
#12/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/PPFrame_Hash.php(280)MediaWiki\Parser\Parser->braceSubstitution(array, MediaWiki\Parser\PPFrame_Hash)
#13/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(2982)MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree, int)
#14/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(1618)MediaWiki\Parser\Parser->replaceVariables(string)
#15/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(876)MediaWiki\Parser\Parser->internalParse(string, bool, bool)
#16/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/ReferenceListFormatter.php(52)MediaWiki\Parser\Parser->recursiveTagParse(string)
#17/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/Cite.php(310)Cite\ReferenceListFormatter->formatReferences(MediaWiki\Parser\Parser, array, bool, bool)
#18/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/Cite.php(331)Cite\Cite->formatReferences(MediaWiki\Parser\Parser, string)
#19/srv/mediawiki/php-1.45.0-wmf.3/extensions/Cite/src/Hooks/CiteParserHooks.php(70)Cite\Cite->checkRefsNoReferences(MediaWiki\Parser\Parser, bool)
#20/srv/mediawiki/php-1.45.0-wmf.3/includes/HookContainer/HookContainer.php(155)Cite\Hooks\CiteParserHooks->onParserAfterParse(MediaWiki\Parser\Parser, string, MediaWiki\Parser\StripState)
#21/srv/mediawiki/php-1.45.0-wmf.3/includes/HookContainer/HookRunner.php(2977)MediaWiki\HookContainer\HookContainer->run(string, array)
#22/srv/mediawiki/php-1.45.0-wmf.3/includes/parser/Parser.php(706)MediaWiki\HookContainer\HookRunner->onParserAfterParse(MediaWiki\Parser\Parser, string, MediaWiki\Parser\StripState)
#23/srv/mediawiki/php-1.45.0-wmf.3/includes/content/WikitextContentHandler.php(380)MediaWiki\Parser\Parser->parse(string, MediaWiki\Title\Title, MediaWiki\Parser\ParserOptions, bool, bool, int)
#24/srv/mediawiki/php-1.45.0-wmf.3/includes/content/ContentHandler.php(1693)MediaWiki\Content\WikitextContentHandler->fillParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Content\Renderer\ContentParseParams, MediaWiki\Parser\ParserOutput)
#25/srv/mediawiki/php-1.45.0-wmf.3/includes/content/Renderer/ContentRenderer.php(75)MediaWiki\Content\ContentHandler->getParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Content\Renderer\ContentParseParams)
#26/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RenderedRevision.php(261)MediaWiki\Content\Renderer\ContentRenderer->getParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Page\PageIdentityValue, MediaWiki\Revision\RevisionStoreRecord, MediaWiki\Parser\ParserOptions, array)
#27/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RenderedRevision.php(233)MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(MediaWiki\Content\WikitextContent, array)
#28/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RevisionRenderer.php(236)MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string, array)
#29/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RevisionRenderer.php(169)MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, MediaWiki\Parser\ParserOptions, array)
#30/srv/mediawiki/php-1.45.0-wmf.3/includes/Revision/RenderedRevision.php(196)MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#31/srv/mediawiki/php-1.45.0-wmf.3/includes/page/ParserOutputAccess.php(454)MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#32/srv/mediawiki/php-1.45.0-wmf.3/includes/page/ParserOutputAccess.php(364)MediaWiki\Page\ParserOutputAccess->renderRevision(MediaWiki\Page\WikiPage, MediaWiki\Parser\ParserOptions, MediaWiki\Revision\RevisionStoreRecord, int, null)
#33/srv/mediawiki/php-1.45.0-wmf.3/includes/diff/DifferenceEngine.php(1276)MediaWiki\Page\ParserOutputAccess->getParserOutput(MediaWiki\Page\WikiPage, MediaWiki\Parser\ParserOptions, MediaWiki\Revision\RevisionStoreRecord, int)
#34/srv/mediawiki/php-1.45.0-wmf.3/includes/diff/DifferenceEngine.php(1061)DifferenceEngine->renderNewRevision()
#35/srv/mediawiki/php-1.45.0-wmf.3/includes/page/Article.php(1078)DifferenceEngine->showDiffPage(bool)
#36/srv/mediawiki/php-1.45.0-wmf.3/includes/page/Article.php(488)MediaWiki\Page\Article->showDiffPage()
#37/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ViewAction.php(80)MediaWiki\Page\Article->view()
#38/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ActionEntryPoint.php(728)MediaWiki\Actions\ViewAction->show()
#39/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ActionEntryPoint.php(505)MediaWiki\Actions\ActionEntryPoint->performAction(MediaWiki\Page\Article, MediaWiki\Title\Title)
#40/srv/mediawiki/php-1.45.0-wmf.3/includes/actions/ActionEntryPoint.php(143)MediaWiki\Actions\ActionEntryPoint->performRequest()
#41/srv/mediawiki/php-1.45.0-wmf.3/includes/MediaWikiEntryPoint.php(198)MediaWiki\Actions\ActionEntryPoint->execute()
#42/srv/mediawiki/php-1.45.0-wmf.3/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#43/srv/mediawiki/w/index.php(3)require(string)
#44{main}

Event Timeline

dancy added projects: Cite, Scribunto.
dancy updated the task description. (Show Details)

I pinged @bvibber on Slack as they have done some work on JsonConfig recently for T388434: JsonConfig remote-data-with-Lua-transform API query. I'm not sure that these errors were a direct result at all, the stacktrace for the [{reqId}] {exception_url} TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given for looks like bad/unexpected data going boom in code paths unchanged for years. Maybe there is new usage of things that is exposing weak data validation somewhere along the line?

Change #1152130 had a related patch set uploaded (by Bvibber; author: Bvibber):

[mediawiki/extensions/JsonConfig@master] Suppress PHP warnings on invalid map data

https://gerrit.wikimedia.org/r/1152130

Change #1152128 had a related patch set uploaded (by Bvibber; author: Bvibber):

[mediawiki/extensions/JsonConfig@master] Suppress notifications on access to flaky data JSON

https://gerrit.wikimedia.org/r/1152128

I'm suspicious that this may have been caused by recent changes to JCCache causing null values to end up somewhere, but I haven't narrowed down exactly how if so:

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/JsonConfig/+/1143086

Change #1152128 merged by jenkins-bot:

[mediawiki/extensions/JsonConfig@master] Suppress notifications on access to flaky data JSON

https://gerrit.wikimedia.org/r/1152128

Change #1152345 had a related patch set uploaded (by Bvibber; author: Bvibber):

[mediawiki/extensions/JsonConfig@master] Revert "JCCache: Use WANObjectCache::getWithSetCallback() instead of set/get"

https://gerrit.wikimedia.org/r/1152345

Change #1152346 had a related patch set uploaded (by Bvibber; author: Bvibber):

[mediawiki/extensions/JsonConfig@wmf/1.45.0-wmf.3] Revert "JCCache: Use WANObjectCache::getWithSetCallback() instead of set/get"

https://gerrit.wikimedia.org/r/1152346

Change #1152345 merged by jenkins-bot:

[mediawiki/extensions/JsonConfig@master] Revert "JCCache: Use WANObjectCache::getWithSetCallback() instead of set/get"

https://gerrit.wikimedia.org/r/1152345

Change #1152346 merged by jenkins-bot:

[mediawiki/extensions/JsonConfig@wmf/1.45.0-wmf.3] Revert "JCCache: Use WANObjectCache::getWithSetCallback() instead of set/get"

https://gerrit.wikimedia.org/r/1152346

Mentioned in SAL (#wikimedia-operations) [2025-05-30T20:38:37Z] <bd808@deploy1003> Started scap sync-world: Backport for [[gerrit:1152349|ext.wikimediaEvents: Soft-depend on MetricsPlatform (T395684 T395494)]], [[gerrit:1152346|Revert "JCCache: Use WANObjectCache::getWithSetCallback() instead of set/get" (T395368)]]

Mentioned in SAL (#wikimedia-operations) [2025-05-30T20:40:37Z] <bd808@deploy1003> bd808, bvibber: Backport for [[gerrit:1152349|ext.wikimediaEvents: Soft-depend on MetricsPlatform (T395684 T395494)]], [[gerrit:1152346|Revert "JCCache: Use WANObjectCache::getWithSetCallback() instead of set/get" (T395368)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-05-30T20:48:37Z] <bd808@deploy1003> Finished scap sync-world: Backport for [[gerrit:1152349|ext.wikimediaEvents: Soft-depend on MetricsPlatform (T395684 T395494)]], [[gerrit:1152346|Revert "JCCache: Use WANObjectCache::getWithSetCallback() instead of set/get" (T395368)]] (duration: 09m 59s)

This one is resolved with the revert of the JCCache changes. That may have squashed all of them, but lets leave this open for a bit to be more certain.

tstarling assigned this task to bvibber.
tstarling subscribed.

This appears to be fixed.