Page MenuHomePhabricator

TypeError on Commons in Wikibase/lib/includes/Store/EntityLinkTargetEntityIdLookup.php:64 PHP Notice: Undefined offset: 1 (then failing in parseEntityId)
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error message
[X@Hl-wpAMOIAAMGz57oAAADB] 2020-12-22 12:26:39: Fatal exception of type "TypeError"
Impact

Unable to view diff on that particular page. (Normal page view seems to work.)

Notes

Details

Request ID
X@Hl-wpAMOIAAMGz57oAAADB
Request URL
https://commons.wikimedia.org/w/index.php?title=Module_talk:Wikidata_label&diff=520067189&uselang=en
Stack Trace
Stack Trace
#0 /srv/mediawiki/php-1.36.0-wmf.22/extensions/Wikibase/lib/includes/Store/EntityLinkTargetEntityIdLookup.php(64): Wikibase\Lib\Store\EntityLinkTargetEntityIdLookup->parseEntityId(NULL)
#1 /srv/mediawiki/php-1.36.0-wmf.22/extensions/Wikibase/lib/includes/Store/EntityLinkTargetEntityIdLookup.php(54): Wikibase\Lib\Store\EntityLinkTargetEntityIdLookup->getEntityIdFromExternalLink(Title)
#2 /srv/mediawiki/php-1.36.0-wmf.22/extensions/Wikibase/repo/includes/Hooks/HtmlPageLinkRendererEndHookHandler.php(315): Wikibase\Lib\Store\EntityLinkTargetEntityIdLookup->getEntityId(Title)
#3 /srv/mediawiki/php-1.36.0-wmf.22/extensions/Wikibase/repo/includes/Hooks/HtmlPageLinkRendererEndHookHandler.php(248): Wikibase\Repo\Hooks\HtmlPageLinkRendererEndHookHandler->internalDoHtmlPageLinkRendererEnd(MediaWiki\Linker\LinkRenderer, Title, HtmlArmor, array, RequestContext, Wikibase\Repo\Hooks\Formatters\EntityLinkFormatterFactory, NULL)
#4 /srv/mediawiki/php-1.36.0-wmf.22/extensions/Wikibase/repo/includes/Hooks/HtmlPageLinkRendererEndHookHandler.php(175): Wikibase\Repo\Hooks\HtmlPageLinkRendererEndHookHandler->doHtmlPageLinkRendererEnd(MediaWiki\Linker\LinkRenderer, Title, HtmlArmor, array, RequestContext, NULL)
#5 /srv/mediawiki/php-1.36.0-wmf.22/includes/HookContainer/HookContainer.php(163): Wikibase\Repo\Hooks\HtmlPageLinkRendererEndHookHandler->onHtmlPageLinkRendererEnd(MediaWiki\Linker\LinkRenderer, Title, boolean, HtmlArmor, array, NULL)
#6 /srv/mediawiki/php-1.36.0-wmf.22/includes/HookContainer/HookRunner.php(2079): MediaWiki\HookContainer\HookContainer->run(string, array)
#7 /srv/mediawiki/php-1.36.0-wmf.22/includes/linker/LinkRenderer.php(308): MediaWiki\HookContainer\HookRunner->onHtmlPageLinkRendererEnd(MediaWiki\Linker\LinkRenderer, Title, boolean, HtmlArmor, array, NULL)
#8 /srv/mediawiki/php-1.36.0-wmf.22/includes/linker/LinkRenderer.php(215): MediaWiki\Linker\LinkRenderer->buildAElement(Title, HtmlArmor, array, boolean)
#9 /srv/mediawiki/php-1.36.0-wmf.22/includes/linker/LinkRenderer.php(242): MediaWiki\Linker\LinkRenderer->makePreloadedLink(Title, HtmlArmor, string, array, array)
#10 /srv/mediawiki/php-1.36.0-wmf.22/includes/linker/LinkRenderer.php(165): MediaWiki\Linker\LinkRenderer->makeKnownLink(Title, HtmlArmor, array, array)
#11 /srv/mediawiki/php-1.36.0-wmf.22/includes/parser/LinkHolderArray.php(329): MediaWiki\Linker\LinkRenderer->makeLink(Title, HtmlArmor)
#12 /srv/mediawiki/php-1.36.0-wmf.22/includes/parser/LinkHolderArray.php(168): LinkHolderArray->replaceInterwiki(string)
#13 /srv/mediawiki/php-1.36.0-wmf.22/includes/parser/Parser.php(4919): LinkHolderArray->replace(string)
#14 /srv/mediawiki/php-1.36.0-wmf.22/includes/parser/Parser.php(1647): Parser->replaceLinkHoldersPrivate(string)
#15 /srv/mediawiki/php-1.36.0-wmf.22/includes/parser/Parser.php(649): Parser->internalParseHalfParsed(string, boolean, boolean)
#16 /srv/mediawiki/php-1.36.0-wmf.22/includes/content/WikitextContent.php(375): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#17 /srv/mediawiki/php-1.36.0-wmf.22/includes/content/AbstractContent.php(591): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#18 /srv/mediawiki/php-1.36.0-wmf.22/includes/Revision/RenderedRevision.php(266): AbstractContent->getParserOutput(Title, integer, ParserOptions, boolean)
#19 /srv/mediawiki/php-1.36.0-wmf.22/includes/Revision/RenderedRevision.php(235): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean)
#20 /srv/mediawiki/php-1.36.0-wmf.22/includes/Revision/RevisionRenderer.php(215): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string, array)
#21 /srv/mediawiki/php-1.36.0-wmf.22/includes/Revision/RevisionRenderer.php(152): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)
#22 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#23 /srv/mediawiki/php-1.36.0-wmf.22/includes/Revision/RenderedRevision.php(197): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)
#24 /srv/mediawiki/php-1.36.0-wmf.22/includes/poolcounter/PoolWorkArticleView.php(137): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#25 /srv/mediawiki/php-1.36.0-wmf.22/includes/poolcounter/PoolCounterWork.php(162): PoolWorkArticleView->doWork()
#26 /srv/mediawiki/php-1.36.0-wmf.22/includes/page/ParserOutputAccess.php(268): PoolCounterWork->execute()
#27 /srv/mediawiki/php-1.36.0-wmf.22/includes/page/WikiPage.php(1213): MediaWiki\Page\ParserOutputAccess->getParserOutput(WikiPage, ParserOptions, MediaWiki\Revision\RevisionStoreRecord, integer)
#28 /srv/mediawiki/php-1.36.0-wmf.22/includes/diff/DifferenceEngine.php(1111): WikiPage->getParserOutput(ParserOptions, integer)
#29 /srv/mediawiki/php-1.36.0-wmf.22/includes/diff/DifferenceEngine.php(1068): DifferenceEngine->getParserOutput(WikiPage, MediaWiki\Revision\RevisionStoreRecord)
#30 /srv/mediawiki/php-1.36.0-wmf.22/includes/diff/DifferenceEngine.php(896): DifferenceEngine->renderNewRevision()
#31 /srv/mediawiki/php-1.36.0-wmf.22/includes/page/Article.php(942): DifferenceEngine->showDiffPage(boolean)
#32 /srv/mediawiki/php-1.36.0-wmf.22/includes/page/Article.php(527): Article->showDiffPage()
#33 /srv/mediawiki/php-1.36.0-wmf.22/includes/actions/ViewAction.php(74): Article->view()
#34 /srv/mediawiki/php-1.36.0-wmf.22/includes/MediaWiki.php(532): ViewAction->show()
#35 /srv/mediawiki/php-1.36.0-wmf.22/includes/MediaWiki.php(316): MediaWiki->performAction(Article, Title)
#36 /srv/mediawiki/php-1.36.0-wmf.22/includes/MediaWiki.php(945): MediaWiki->performRequest()
#37 /srv/mediawiki/php-1.36.0-wmf.22/includes/MediaWiki.php(548): MediaWiki->main()
#38 /srv/mediawiki/php-1.36.0-wmf.22/index.php(53): MediaWiki->run()
#39 /srv/mediawiki/php-1.36.0-wmf.22/index.php(46): wfIndexMain()
#40 /srv/mediawiki/w/index.php(3): require(string)
#41 {main}

Event Timeline

Aklapper renamed this task from TypeError on Commons to TypeError on Commons in Wikibase/lib/includes/Store/EntityLinkTargetEntityIdLookup.php:64 PHP Notice: Undefined offset: 1 (then failing in parseEntityId).Dec 22 2020, 12:58 PM
Aklapper updated the task description. (Show Details)
Aklapper edited Stack Trace. (Show Details)
Aklapper set Phatality ID to 8f5974afff9b76233c2c182431ad03f90587d662d4f7954463720869b1cca510.