Page MenuHomePhabricator

TypeError when visiting Special:Unblock with no subpage
Closed, ResolvedPublic

Description

TypeError: Argument 1 passed to SpecialUnblock::getTargetAndType() must be of the type string, null given

#0 /srv/mediawiki/php-1.36.0-wmf.10/includes/specials/SpecialUnblock.php(51): SpecialUnblock->getTargetAndType(NULL, WebRequest)
#1 /srv/mediawiki/php-1.36.0-wmf.10/includes/specialpage/SpecialPage.php(600): SpecialUnblock->execute(NULL)
#2 /srv/mediawiki/php-1.36.0-wmf.10/includes/specialpage/SpecialPageFactory.php(692): SpecialPage->run(NULL)
#3 /srv/mediawiki/php-1.36.0-wmf.10/includes/MediaWiki.php(307): MediaWiki\SpecialPage\SpecialPageFactory->executePath(Title, RequestContext)
#4 /srv/mediawiki/php-1.36.0-wmf.10/includes/MediaWiki.php(940): MediaWiki->performRequest()
#5 /srv/mediawiki/php-1.36.0-wmf.10/includes/MediaWiki.php(543): MediaWiki->main()
#6 /srv/mediawiki/php-1.36.0-wmf.10/index.php(53): MediaWiki->run()
#7 /srv/mediawiki/php-1.36.0-wmf.10/index.php(46): wfIndexMain()
#8 /srv/mediawiki/w/index.php(3): require(string)
#9 {main}

Currently on 1.36.0-wmf.10

Event Timeline

Change 629385 had a related patch set uploaded (by Tchanders; owner: Tchanders):
[mediawiki/core@master] SpecialUnblock: Allow getTargetAndType to accept null $par

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

Change 629390 had a related patch set uploaded (by Tchanders; owner: Tchanders):
[mediawiki/core@wmf/1.36.0-wmf.10] SpecialUnblock: Allow getTargetAndType to accept null $par

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

Change 629385 merged by jenkins-bot:
[mediawiki/core@master] SpecialUnblock: Allow getTargetAndType to accept null $par

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

Change 629390 merged by jenkins-bot:
[mediawiki/core@wmf/1.36.0-wmf.10] SpecialUnblock: Allow getTargetAndType to accept null $par

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

Mentioned in SAL (#wikimedia-operations) [2020-09-23T15:56:09Z] <urbanecm@deploy1001> Synchronized php-1.36.0-wmf.10/includes/specials/SpecialUnblock.php: rMW3234fad0d9b3: SpecialUnblock: Allow getTargetAndType to accept null $par (T263642) (duration: 01m 08s)

Mentioned in SAL (#wikimedia-operations) [2020-09-23T15:57:29Z] <urbanecm@deploy1001> Synchronized php-1.36.0-wmf.10/includes/specials/SpecialBlock.php: rMW3234fad0d9b3: SpecialUnblock: Allow getTargetAndType to accept null $par (T263642) (duration: 01m 07s)

Urbanecm assigned this task to Tchanders.
Urbanecm added a subscriber: Urbanecm.