Page MenuHomePhabricator

TypeError: Typed property MediaWiki\Extension\GlobalBlocking\GlobalBlock::$id must be int, string used
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   TypeError: Typed property MediaWiki\Extension\GlobalBlocking\GlobalBlock::$id must be int, string used
error.stack_trace
from /srv/mediawiki/php-1.43.0-wmf.17/includes/libs/objectcache/RESTBagOStuff.php(305)
#0 /srv/mediawiki/php-1.43.0-wmf.17/includes/libs/objectcache/RESTBagOStuff.php(305): unserialize(string)
#1 /srv/mediawiki/php-1.43.0-wmf.17/includes/libs/objectcache/RESTBagOStuff.php(199): Wikimedia\ObjectCache\RESTBagOStuff->decodeBody(string)
#2 /srv/mediawiki/php-1.43.0-wmf.17/includes/libs/objectcache/MediumSpecificBagOStuff.php(126): Wikimedia\ObjectCache\RESTBagOStuff->doGet(string, int)
#3 /srv/mediawiki/php-1.43.0-wmf.17/includes/libs/objectcache/BagOStuff.php(778): Wikimedia\ObjectCache\MediumSpecificBagOStuff->get(string)
#4 /srv/mediawiki/php-1.43.0-wmf.17/includes/libs/objectcache/CachedBagOStuff.php(68): Wikimedia\ObjectCache\BagOStuff->proxyCall(string, int, int, array, Wikimedia\ObjectCache\CachedBagOStuff)
#5 /srv/mediawiki/php-1.43.0-wmf.17/includes/session/SessionManager.php(606): Wikimedia\ObjectCache\CachedBagOStuff->get(string)
#6 /srv/mediawiki/php-1.43.0-wmf.17/includes/session/SessionManager.php(561): MediaWiki\Session\SessionManager->loadSessionInfoFromStore(MediaWiki\Session\SessionInfo, MediaWiki\Request\WebRequest)
#7 /srv/mediawiki/php-1.43.0-wmf.17/includes/session/SessionManager.php(248): MediaWiki\Session\SessionManager->getSessionInfoForRequest(MediaWiki\Request\WebRequest)
#8 /srv/mediawiki/php-1.43.0-wmf.17/includes/Request/WebRequest.php(870): MediaWiki\Session\SessionManager->getSessionForRequest(MediaWiki\Request\WebRequest)
#9 /srv/mediawiki/php-1.43.0-wmf.17/includes/session/SessionManager.php(167): MediaWiki\Request\WebRequest->getSession()
#10 /srv/mediawiki/php-1.43.0-wmf.17/includes/Setup.php(489): MediaWiki\Session\SessionManager::getGlobalSession()
#11 /srv/mediawiki/php-1.43.0-wmf.17/includes/WebStart.php(85): require_once(string)
#12 /srv/mediawiki/php-1.43.0-wmf.17/api.php(37): require(string)
#13 /srv/mediawiki/w/api.php(3): require(string)
#14 {main}
Impact
Notes

33 of these in 1.43.0-wmf.17 (T366962).

Details

Request URL
https://en.wikipedia.org/w/api.php?action=query&format=*&formatversion=*&meta=*&notfilter=*&notformat=*&notlimit=*&notwikis=*

Event Timeline

Change #1060896 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/GlobalBlocking@master] Convert gb_id to integer in GlobalBlock

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

Change #1060897 had a related patch set uploaded (by Urbanecm; author: Dreamy Jazz):

[mediawiki/extensions/GlobalBlocking@wmf/1.43.0-wmf.17] Convert gb_id to integer in GlobalBlock

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

Change #1060897 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@wmf/1.43.0-wmf.17] Convert gb_id to integer in GlobalBlock

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

Mentioned in SAL (#wikimedia-operations) [2024-08-08T17:15:33Z] <dreamyjazz@deploy1003> Started scap sync-world: Backport for [[gerrit:1060897|Convert gb_id to integer in GlobalBlock (T372063)]]

Change #1060896 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Convert gb_id to integer in GlobalBlock

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

Mentioned in SAL (#wikimedia-operations) [2024-08-08T17:17:46Z] <dreamyjazz@deploy1003> urbanecm, dreamyjazz: Backport for [[gerrit:1060897|Convert gb_id to integer in GlobalBlock (T372063)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-08-08T17:22:21Z] <dreamyjazz@deploy1003> Finished scap: Backport for [[gerrit:1060897|Convert gb_id to integer in GlobalBlock (T372063)]] (duration: 06m 48s)

I believe this should be resolved.