Page MenuHomePhabricator

MediaWiki\Extension\TitleBlacklist\TitleBlacklist::load(): The script tried to execute a method or access a property of an incomplete object.
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
MediaWiki\Extension\TitleBlacklist\TitleBlacklist::load(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "TitleBlacklistEntry" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in TitleBlacklist.php
exception.trace
#0 /srv/mediawiki/php-1.39.0-wmf.10/extensions/TitleBlacklist/includes/TitleBlacklist.php(79): unknown()
#1 /srv/mediawiki/php-1.39.0-wmf.10/extensions/TitleBlacklist/includes/TitleBlacklist.php(277): MediaWiki\Extension\TitleBlacklist\TitleBlacklist->load()
#2 /srv/mediawiki/php-1.39.0-wmf.10/extensions/TitleBlacklist/includes/TitleBlacklist.php(230): MediaWiki\Extension\TitleBlacklist\TitleBlacklist->getBlacklist()
#3 /srv/mediawiki/php-1.39.0-wmf.10/extensions/TitleBlacklist/includes/TitleBlacklist.php(198): MediaWiki\Extension\TitleBlacklist\TitleBlacklist->isBlacklisted()
#4 /srv/mediawiki/php-1.39.0-wmf.10/extensions/TitleBlacklist/includes/Hooks.php(63): MediaWiki\Extension\TitleBlacklist\TitleBlacklist->userCannot()
#5 /srv/mediawiki/php-1.39.0-wmf.10/includes/HookContainer/HookContainer.php(160): MediaWiki\Extension\TitleBlacklist\Hooks->onGetUserPermissionsErrorsExpensive()
#6 /srv/mediawiki/php-1.39.0-wmf.10/includes/HookContainer/HookRunner.php(1956): MediaWiki\HookContainer\HookContainer->run()
#7 /srv/mediawiki/php-1.39.0-wmf.10/includes/Permissions/PermissionManager.php(556): MediaWiki\HookContainer\HookRunner->onGetUserPermissionsErrorsExpensive()
#8 /srv/mediawiki/php-1.39.0-wmf.10/includes/Permissions/PermissionManager.php(504): MediaWiki\Permissions\PermissionManager->checkPermissionHooks()
#9 /srv/mediawiki/php-1.39.0-wmf.10/includes/Permissions/PermissionManager.php(338): MediaWiki\Permissions\PermissionManager->getPermissionErrorsInternal()
#10 /srv/mediawiki/php-1.39.0-wmf.10/extensions/VisualEditor/includes/ApiVisualEditor.php(460): MediaWiki\Permissions\PermissionManager->getPermissionErrors()
#11 /srv/mediawiki/php-1.39.0-wmf.10/includes/api/ApiMain.php(1902): MediaWiki\Extension\VisualEditor\ApiVisualEditor->execute()
#12 /srv/mediawiki/php-1.39.0-wmf.10/includes/api/ApiMain.php(874): ApiMain->executeAction()
#13 /srv/mediawiki/php-1.39.0-wmf.10/includes/api/ApiMain.php(845): ApiMain->executeActionWithErrorHandling()
#14 /srv/mediawiki/php-1.39.0-wmf.10/api.php(90): ApiMain->execute()
#15 /srv/mediawiki/php-1.39.0-wmf.10/api.php(45): wfApiMain()
#16 /srv/mediawiki/w/api.php(3): require()
Impact
Notes

These started to spike immediately after deploy of 1.39.0-wmf.10 (T305216) to group0.

Event Timeline

brennen triaged this task as Unbreak Now! priority.May 3 2022, 9:15 PM
brennen moved this task from Backlog to Logs/Train on the User-brennen board.

Change 788801 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/TitleBlacklist@master] Add class alias for TitleBlacklist and bump cache version

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

Change 788801 merged by jenkins-bot:

[mediawiki/extensions/TitleBlacklist@master] Add class alias for TitleBlacklist and bump cache version

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

Change 788745 had a related patch set uploaded (by Brennen Bearnes; author: Zabe):

[mediawiki/extensions/TitleBlacklist@wmf/1.39.0-wmf.10] Add class alias for TitleBlacklist and bump cache version

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

Change 788745 merged by jenkins-bot:

[mediawiki/extensions/TitleBlacklist@wmf/1.39.0-wmf.10] Add class alias for TitleBlacklist and bump cache version

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

Mentioned in SAL (#wikimedia-operations) [2022-05-03T22:02:40Z] <brennen@deploy1002> Synchronized php-1.39.0-wmf.10/extensions/TitleBlacklist: Backport: [[gerrit:788745|Add class alias for TitleBlacklist and bump cache version (T307513)]] (duration: 00m 50s)

Change 788816 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/TitleBlacklist@wmf/1.39.0-wmf.9] wmf.9 HACK: add forward class alias for TitleBlacklist

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

Change 788816 merged by jenkins-bot:

[mediawiki/extensions/TitleBlacklist@wmf/1.39.0-wmf.9] wmf.9 HACK: add forward class alias for TitleBlacklist

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

Mentioned in SAL (#wikimedia-operations) [2022-05-03T22:42:00Z] <ladsgroup@deploy1002> Synchronized php-1.39.0-wmf.9/extensions/TitleBlacklist: Backport: [[gerrit:788816|wmf.9 HACK: add forward class alias for TitleBlacklist (T307513)]] (duration: 00m 50s)

Seemed like errors continued after https://gerrit.wikimedia.org/r/788816 - not totally sure what's going on there.

Mentioned in SAL (#wikimedia-operations) [2022-05-03T22:46:50Z] <brennen> train 1.39.0-wmf.10 (T305216): T307513 doesn't seem quite resolved - parking the train at testwikis until european morning

Change 789091 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/mediawiki-config@master] Revert "group0 wikis to 1.39.0-wmf.10 refs T305216"

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

Mentioned in SAL (#wikimedia-operations) [2022-05-04T08:28:29Z] <hashar@deploy1002> rebuilt and synchronized wikiversions files: Revert "group0 wikis to 1.39.0-wmf.10 - T305216 T307513

Change 789091 merged by jenkins-bot:

[operations/mediawiki-config@master] Revert "group0 wikis to 1.39.0-wmf.10 refs T305216"

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

Change 789093 had a related patch set uploaded (by Majavah; author: Majavah):

[mediawiki/extensions/TitleBlacklist@master] Add a class_alias for TitleBlacklistEntry too

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

Change 789095 had a related patch set uploaded (by Majavah; author: Majavah):

[mediawiki/extensions/TitleBlacklist@wmf/1.39.0-wmf.9] wmf.9 HACK: add forward class alias for TitleBlacklistEntry too

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

Change 788855 had a related patch set uploaded (by Majavah; author: Majavah):

[mediawiki/extensions/TitleBlacklist@wmf/1.39.0-wmf.10] Add a class_alias for TitleBlacklistEntry too

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

Change 789093 merged by jenkins-bot:

[mediawiki/extensions/TitleBlacklist@master] Add a class_alias for TitleBlacklistEntry too

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

Change 789095 merged by jenkins-bot:

[mediawiki/extensions/TitleBlacklist@wmf/1.39.0-wmf.9] wmf.9 HACK: add forward class alias for TitleBlacklistEntry too

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

Change 788855 merged by jenkins-bot:

[mediawiki/extensions/TitleBlacklist@wmf/1.39.0-wmf.10] Add a class_alias for TitleBlacklistEntry too

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

Mentioned in SAL (#wikimedia-operations) [2022-05-04T08:39:52Z] <taavi@deploy1002> Synchronized php-1.39.0-wmf.10/extensions/TitleBlacklist: Backport: [[gerrit:788855|Add a class_alias for TitleBlacklistEntry too (T307513)]] (duration: 00m 50s)

Mentioned in SAL (#wikimedia-operations) [2022-05-04T08:43:02Z] <taavi@deploy1002> Synchronized php-1.39.0-wmf.9/extensions/TitleBlacklist/includes/TitleBlacklistEntry.php: Backport: [[gerrit:789095|wmf.9 HACK: add forward class alias for TitleBlacklistEntry too (T307513)]] (duration: 00m 50s)

Mentioned in SAL (#wikimedia-operations) [2022-05-04T08:43:57Z] <taavi@deploy1002> Synchronized php-1.39.0-wmf.9/extensions/TitleBlacklist/extension.json: Backport: [[gerrit:789095|wmf.9 HACK: add forward class alias for TitleBlacklistEntry too (T307513)]] (duration: 00m 49s)

Mentioned in SAL (#wikimedia-operations) [2022-05-04T09:00:51Z] <hashar@deploy1002> rebuilt and synchronized wikiversions files: group0 wikis to 1.39.0-wmf.10 - T305216 T307513

The issue is gone after promoting wikis to group 0 . Thank you very much for the patches, hotfixes and deployments.

hashar assigned this task to taavi.