Page MenuHomePhabricator

PHP Notice: Undefined property: stdClass::$title
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.36.0-wmf.33

message
PHP Notice: Undefined property: stdClass::$title

Impact

Notes

Details

Request URL
https://en.wikipedia.org/w/rest.php/en.wikipedia.org/v3/page/pagebundle/User_talk%3ADavidgothberg%2FPgn/934988365
Stack Trace
exception.trace
from /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/TT/WikiLinkHandler.php(629)
#0 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/TT/WikiLinkHandler.php(786): Wikimedia\Parsoid\Wt2Html\TT\WikiLinkHandler->addLinkAttributesAndGetContent(Wikimedia\Parsoid\Tokens\TagTk, Wikimedia\Parsoid\Tokens\SelfclosingTagTk, stdClass, boolean)
#1 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/TT/WikiLinkHandler.php(422): Wikimedia\Parsoid\Wt2Html\TT\WikiLinkHandler->renderInterwikiLink(Wikimedia\Parsoid\Tokens\SelfclosingTagTk, stdClass)
#2 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/TT/WikiLinkHandler.php(380): Wikimedia\Parsoid\Wt2Html\TT\WikiLinkHandler->wikiLinkHandler(Wikimedia\Parsoid\Tokens\SelfclosingTagTk, stdClass, boolean)
#3 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/TT/WikiLinkHandler.php(1690): Wikimedia\Parsoid\Wt2Html\TT\WikiLinkHandler->onWikiLink(Wikimedia\Parsoid\Tokens\SelfclosingTagTk)
#4 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/TT/TokenHandler.php(202): Wikimedia\Parsoid\Wt2Html\TT\WikiLinkHandler->onTag(Wikimedia\Parsoid\Tokens\SelfclosingTagTk)
#5 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/TokenTransformManager.php(118): Wikimedia\Parsoid\Wt2Html\TT\TokenHandler->process(array)
#6 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/TokenTransformManager.php(168): Wikimedia\Parsoid\Wt2Html\TokenTransformManager->processChunk(array)
#7 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/TokenTransformManager.php(166): Wikimedia\Parsoid\Wt2Html\TokenTransformManager->processChunkily(string, array)
#8 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/HTML5TreeBuilder.php(417): Wikimedia\Parsoid\Wt2Html\TokenTransformManager->processChunkily(string, array)
#9 [internal function]: Wikimedia\Parsoid\Wt2Html\HTML5TreeBuilder->processChunkily(string, array)
#10 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/DOMPostProcessor.php(900): Generator->current()
#11 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/ParserPipeline.php(178): Wikimedia\Parsoid\Wt2Html\DOMPostProcessor->processChunkily(string, array)
#12 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Wt2Html/ParserPipelineFactory.php(310): Wikimedia\Parsoid\Wt2Html\ParserPipeline->parseChunkily(string, array)
#13 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Core/WikitextContentModelHandler.php(106): Wikimedia\Parsoid\Wt2Html\ParserPipelineFactory->parse(string)
#14 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Parsoid.php(162): Wikimedia\Parsoid\Core\WikitextContentModelHandler->toDOM(Wikimedia\Parsoid\Config\Env)
#15 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/src/Parsoid.php(194): Wikimedia\Parsoid\Parsoid->parseWikitext(MWParsoid\Config\PageConfig, array)
#16 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/extension/src/Rest/Handler/ParsoidHandler.php(589): Wikimedia\Parsoid\Parsoid->wikitext2html(MWParsoid\Config\PageConfig, array, NULL)
#17 /srv/mediawiki/php-1.36.0-wmf.33/vendor/wikimedia/parsoid/extension/src/Rest/Handler/PageHandler.php(88): MWParsoid\Rest\Handler\ParsoidHandler->wt2html(MWParsoid\Config\PageConfig, array)
#18 /srv/mediawiki/php-1.36.0-wmf.33/includes/Rest/Router.php(395): MWParsoid\Rest\Handler\PageHandler->execute()
#19 /srv/mediawiki/php-1.36.0-wmf.33/includes/Rest/Router.php(322): MediaWiki\Rest\Router->executeHandler(MWParsoid\Rest\Handler\PageHandler)
#20 /srv/mediawiki/php-1.36.0-wmf.33/includes/Rest/EntryPoint.php(165): MediaWiki\Rest\Router->execute(MediaWiki\Rest\RequestFromGlobals)
#21 /srv/mediawiki/php-1.36.0-wmf.33/includes/Rest/EntryPoint.php(130): MediaWiki\Rest\EntryPoint->execute()
#22 /srv/mediawiki/php-1.36.0-wmf.33/rest.php(31): MediaWiki\Rest\EntryPoint::main()
#23 /srv/mediawiki/w/rest.php(3): require(string)
#24 {main}

Event Timeline

ssastry renamed this task from Call to a member function getPrefixedText() on null to PHP Notice: Undefined property: stdClass::$title.Mar 6 2021, 3:26 AM
ssastry updated the task description. (Show Details)
ssastry changed Phatality ID from d9a82939fd2ef574082e2b3e454cf6f0df3319e20762b0bd60aa81fd6b5a537b to 9e23eeec77054804a83aeee01e136d80a926e8e995b0ea1feb1ded3227a18526.
Arlolra triaged this task as Medium priority.
Arlolra moved this task from Needs Triage to Bugs & Crashers on the Parsoid board.

Reproducible with echo "[[meta:../sibling]]" | php bin/parse.php --pageName "User_talk:Davidgothberg/Pgn"

I guess there's some interaction between interwiki links and subpages to clear up. The legacy parser considers this invalid.

Change 670015 had a related patch set uploaded (by Arlolra; owner: Arlolra):
[mediawiki/services/parsoid@master] [WIP] Subpages on interwiki / language links

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

Change 670015 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Subpages on interwiki / language links are invalid

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

Change 672528 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.13.0-a27

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

Change 672528 merged by jenkins-bot:
[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.13.0-a27

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

Change 672826 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.13.0-a28

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

Change 672826 merged by jenkins-bot:
[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.13.0-a28

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

Change 672812 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/vendor@wmf/1.36.0-wmf.35] Bump wikimedia/parsoid to 0.13.0-a28

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

Change 672812 merged by jenkins-bot:
[mediawiki/vendor@wmf/1.36.0-wmf.35] Bump wikimedia/parsoid to 0.13.0-a28

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

Mentioned in SAL (#wikimedia-operations) [2021-03-17T18:52:26Z] <catrope@deploy1002> Synchronized php-1.36.0-wmf.35/vendor/: Bump wikimedia/parsoid to 0.13.0-a28 (T276649) (duration: 01m 18s)