Page MenuHomePhabricator

MobileFrontend DOMException: Not Found Error
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error
  • service.version: 1.45.0-wmf.10
  • timestamp: 2025-07-24T15:16:21.078Z
  • labels.phpversion: 8.1.33
  • trace.id: 5e90f060-f6fc-43aa-a894-f5acef56b4b9
  • Find trace.id in Logstash
labels.normalized_message
[{reqId}] {exception_url}   DOMException: Not Found Error
FrameLocationCall
from/srv/mediawiki/php-1.45.0-wmf.10/extensions/MobileFrontend/includes/Transforms/MakeSectionsTransform.php(165)
#0/srv/mediawiki/php-1.45.0-wmf.10/extensions/MobileFrontend/includes/Transforms/MakeSectionsTransform.php(165)DOMNode->insertBefore(Wikimedia\Parsoid\DOM\Element, Wikimedia\Parsoid\DOM\Element)
#1/srv/mediawiki/php-1.45.0-wmf.10/extensions/MobileFrontend/includes/Transforms/MakeSectionsTransform.php(123)MobileFrontend\Transforms\MakeSectionsTransform->prepareHeading(Wikimedia\Parsoid\DOM\Document, Wikimedia\Parsoid\DOM\Element, int, bool)
#2/srv/mediawiki/php-1.45.0-wmf.10/extensions/MobileFrontend/includes/Transforms/MakeSectionsTransform.php(261)MobileFrontend\Transforms\MakeSectionsTransform->makeSections(Wikimedia\Parsoid\DOM\Element, array)
#3/srv/mediawiki/php-1.45.0-wmf.10/extensions/MobileFrontend/includes/MobileFormatter.php(32)MobileFrontend\Transforms\MakeSectionsTransform->apply(Wikimedia\Parsoid\DOM\Element)
#4/srv/mediawiki/php-1.45.0-wmf.10/extensions/MobileFrontend/includes/ExtMobileFrontend.php(173)MobileFormatter->applyTransforms(array)
#5/srv/mediawiki/php-1.45.0-wmf.10/extensions/MobileFrontend/includes/ExtMobileFrontend.php(75)ExtMobileFrontend::domParseMobile(MediaWiki\Output\OutputPage, string)
#6/srv/mediawiki/php-1.45.0-wmf.10/extensions/MobileFrontend/includes/MobileFrontendHooks.php(358)ExtMobileFrontend::domParseWithContentProvider(MobileFrontend\ContentProviders\DefaultContentProvider, MediaWiki\Output\OutputPage, bool)
#7/srv/mediawiki/php-1.45.0-wmf.10/includes/HookContainer/HookContainer.php(155)MobileFrontendHooks->onOutputPageBeforeHTML(MediaWiki\Output\OutputPage, string)
#8/srv/mediawiki/php-1.45.0-wmf.10/includes/HookContainer/HookRunner.php(2785)MediaWiki\HookContainer\HookContainer->run(string, array)
#9/srv/mediawiki/php-1.45.0-wmf.10/includes/Output/OutputPage.php(2633)MediaWiki\HookContainer\HookRunner->onOutputPageBeforeHTML(MediaWiki\Output\OutputPage, string)
#10/srv/mediawiki/php-1.45.0-wmf.10/includes/Output/OutputPage.php(2661)MediaWiki\Output\OutputPage->addParserOutputText(string, array)
#11/srv/mediawiki/php-1.45.0-wmf.10/includes/page/Article.php(928)MediaWiki\Output\OutputPage->addParserOutput(MediaWiki\Parser\ParserOutput, MediaWiki\Parser\ParserOptions, array)
#12/srv/mediawiki/php-1.45.0-wmf.10/includes/page/Article.php(739)MediaWiki\Page\Article->doOutputFromParserCache(MediaWiki\Parser\ParserOutput, MediaWiki\Parser\ParserOptions, MediaWiki\Output\OutputPage, array)
#13/srv/mediawiki/php-1.45.0-wmf.10/includes/page/Article.php(551)MediaWiki\Page\Article->generateContentOutput(MediaWiki\User\User, MediaWiki\Parser\ParserOptions, int, MediaWiki\Output\OutputPage, array)
#14/srv/mediawiki/php-1.45.0-wmf.10/includes/actions/ViewAction.php(84)MediaWiki\Page\Article->view()
#15/srv/mediawiki/php-1.45.0-wmf.10/includes/actions/ActionEntryPoint.php(728)MediaWiki\Actions\ViewAction->show()
#16/srv/mediawiki/php-1.45.0-wmf.10/includes/actions/ActionEntryPoint.php(505)MediaWiki\Actions\ActionEntryPoint->performAction(MediaWiki\Page\Article, MediaWiki\Title\Title)
#17/srv/mediawiki/php-1.45.0-wmf.10/includes/actions/ActionEntryPoint.php(143)MediaWiki\Actions\ActionEntryPoint->performRequest()
#18/srv/mediawiki/php-1.45.0-wmf.10/includes/MediaWikiEntryPoint.php(198)MediaWiki\Actions\ActionEntryPoint->execute()
#19/srv/mediawiki/php-1.45.0-wmf.10/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#20/srv/mediawiki/w/index.php(3)require(string)
#21{main}
Impact
Notes
  • Seems to be happening on ptwiki
  • Started when wmf.10 rolled out to group2 (last Thursday 2025-07-17)
  • Happens 10× per hour with occasional spikes

Details

Request URL
https://pt.wikipedia.org/wiki/Lista_dos_condes_de_Artois

Event Timeline

Tagging in Reader Experience Team as a guess (developers/maintainers still shows the Web-Team ). Please redirect to the right team if I got it wrong, thanks!

ovasileva subscribed.

Thanks @thcipriani, tagging the Reader Growth team as they're the current maintainers of mobilefrontend

ssastry subscribed.

Parsoid in the stack trace is just the DOM types: Element, Document, Node, etc. Those are just wrappers over the underlying DOM implementation (PHP DOM in this case). The error is still in the mobile transforms that manipulate the DOM. I am going to untag CTT & Parsoid. Please feel to readd if your investigations reveal that CTT needs to look at it.

Reedy renamed this task from MobileFrontEnd DOMException: Not Found Error to MobileFrontend DOMException: Not Found Error.Jul 25 2025, 11:24 PM