Page MenuHomePhabricator

TypeError: MediaWiki\Revision\MutableRevisionRecord::setParentId(): Argument #1 ($parentId) must be of type int, null given, called in /srv/mediawiki/php-1.45.0-wmf.9/includes/Storage/DerivedPageDataUpdater.php on line 945
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
  • service.version: 1.45.0-wmf.9
  • timestamp: 2025-07-10T03:53:12.595Z
  • labels.phpversion: 8.1.32
  • trace.id: 1b04c05a-76e2-4a38-a5e0-bf0788492fe1
  • Find trace.id in Logstash
labels.normalized_message
[{reqId}] {exception_url}   TypeError: MediaWiki\Revision\MutableRevisionRecord::setParentId(): Argument #1 ($parentId) must be of type int, null given, called in /srv/mediawiki/php-1.45.0-wmf.9/includes/Storage/DerivedPageDataUpdater.php on line 945
FrameLocationCall
from/srv/mediawiki/php-1.45.0-wmf.9/includes/Revision/MutableRevisionRecord.php(121)
#0/srv/mediawiki/php-1.45.0-wmf.9/includes/Storage/DerivedPageDataUpdater.php(945)MediaWiki\Revision\MutableRevisionRecord->setParentId(null)
#1/srv/mediawiki/php-1.45.0-wmf.9/includes/Storage/PageUpdater.php(346)MediaWiki\Storage\DerivedPageDataUpdater->prepareContent(MediaWiki\User\User, MediaWiki\Storage\RevisionSlotsUpdate, bool)
#2/srv/mediawiki/php-1.45.0-wmf.9/includes/Storage/PageEditStash.php(166)MediaWiki\Storage\PageUpdater->prepareUpdate(int)
#3/srv/mediawiki/php-1.45.0-wmf.9/includes/api/ApiStashEdit.php(194)MediaWiki\Storage\PageEditStash->parseAndCache(MediaWiki\Storage\PageUpdater, MediaWiki\Content\WikitextContent, MediaWiki\User\User, string)
#4/srv/mediawiki/php-1.45.0-wmf.9/includes/api/ApiMain.php(2016)MediaWiki\Api\ApiStashEdit->execute()
#5/srv/mediawiki/php-1.45.0-wmf.9/includes/api/ApiMain.php(954)MediaWiki\Api\ApiMain->executeAction()
#6/srv/mediawiki/php-1.45.0-wmf.9/includes/api/ApiMain.php(925)MediaWiki\Api\ApiMain->executeActionWithErrorHandling()
#7/srv/mediawiki/php-1.45.0-wmf.9/includes/api/ApiEntryPoint.php(152)MediaWiki\Api\ApiMain->execute()
#8/srv/mediawiki/php-1.45.0-wmf.9/includes/MediaWikiEntryPoint.php(198)MediaWiki\Api\ApiEntryPoint->execute()
#9/srv/mediawiki/php-1.45.0-wmf.9/api.php(44)MediaWiki\MediaWikiEntryPoint->run()
#10/srv/mediawiki/w/api.php(3)require(string)
#11{main}
Impact

Seen only on https://incubator.wikimedia.org but log noise is log noise

Notes

Details

MediaWiki Version
1.45.0-wmf.9
Request URL
https://incubator.wikimedia.org/w/api.php