Page MenuHomePhabricator

Database error when moving pages: LinksUpdate::updateCategoryCounts does not have outer scope.
Closed, DuplicatePublic

Description

I just tried to execute some page moves, and 2 of them didn't work properly, requiring that I try again. For both, I set it to move the leave a redirect, add the pages to my watchlist, and move the talk page as well.
This move (and moving the talk page) originally resulted in [XOMFjQpAMFAAAJASGokAAABV] 2019-05-20 19:52:48: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

This move (and moving the talk page) originally result in [XOMFjgpAAEYAAHrYjRMAAAAK] 2019-05-20 19:52:48: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 20 2019, 7:57 PM
Marostegui added a subscriber: Marostegui.

The error itself:

Wikimedia\Rdbms\LBFactory::commitAndWaitForReplication: LinksUpdate::updateCategoryCounts does not have outer scope.
#0 /srv/mediawiki/php-1.34.0-wmf.5/includes/deferred/LinksUpdate.php(418): Wikimedia\Rdbms\LBFactory->commitAndWaitForReplication('LinksUpdate::up...', NULL, Array)
#1 /srv/mediawiki/php-1.34.0-wmf.5/includes/deferred/LinksUpdate.php(311): LinksUpdate->updateCategoryCounts(Array, Array)
#2 /srv/mediawiki/php-1.34.0-wmf.5/includes/deferred/LinksUpdate.php(189): LinksUpdate->doIncrementalUpdate()
#3 /srv/mediawiki/php-1.34.0-wmf.5/includes/Storage/DerivedPageDataUpdater.php(1622): LinksUpdate->doUpdate()
#4 /srv/mediawiki/php-1.34.0-wmf.5/includes/Storage/DerivedPageDataUpdater.php(1429): MediaWiki\Storage\DerivedPageDataUpdater->doSecondaryDataUpdates(Array)
#5 /srv/mediawiki/php-1.34.0-wmf.5/includes/deferred/MWCallableUpdate.php(34): MediaWiki\Storage\DerivedPageDataUpdater->MediaWiki\Storage\{closure}()
#6 /srv/mediawiki/php-1.34.0-wmf.5/includes/deferred/DeferredUpdates.php(274): MWCallableUpdate->doUpdate()
#7 /srv/mediawiki/php-1.34.0-wmf.5/includes/deferred/DeferredUpdates.php(219): DeferredUpdates::runUpdate(Object(MWCallableUpdate), Object(Wikimedia\Rdbms\LBFactoryMulti), 'run', 2)
#8 /srv/mediawiki/php-1.34.0-wmf.5/includes/deferred/DeferredUpdates.php(143): DeferredUpdates::execute(Array, 'run', 2)
#9 /srv/mediawiki/php-1.34.0-wmf.5/includes/MediaWiki.php(907): DeferredUpdates::doUpdates('run')
#10 /srv/mediawiki/php-1.34.0-wmf.5/includes/MediaWiki.php(731): MediaWiki->restInPeace('normal', false)
#11 /srv/mediawiki/php-1.34.0-wmf.5/includes/MediaWiki.php(754): MediaWiki->{closure}()
#12 /srv/mediawiki/php-1.34.0-wmf.5/includes/MediaWiki.php(548): MediaWiki->doPostOutputShutdown('normal')
#13 /srv/mediawiki/php-1.34.0-wmf.5/index.php(42): MediaWiki->run()
#14 /srv/mediawiki/w/index.php(3): require('/srv/mediawiki/...')
#15 {main}
Wikimedia\Rdbms\LBFactory::commitAndWaitForReplication: LinksUpdate::updateCategoryCounts does not have outer scope.
#0 /srv/mediawiki/php-1.34.0-wmf.5/includes/deferred/LinksUpdate.php(418): Wikimedia\Rdbms\LBFactory->commitAndWaitForReplication('LinksUp
Aklapper renamed this task from Database error when moving pages to Database error when moving pages: LinksUpdate::updateCategoryCounts does not have outer scope..May 20 2019, 10:52 PM

Not sure if this might be related or the same thing T221595: MovePage::move contention on cebwiki

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:07 PM