Page MenuHomePhabricator

SpecialCheckUser: Call to a member function userCan() on a non-object (null)
Closed, ResolvedPublic



Request URL: Special:CheckUser + POST data
Request ID: XS8wsgpAIC8AAF05UsoAAAAJ

[XS8xGgpAICMAAJe6xMcAAAAL] /wiki/Speciale:CU   BadMethodCallException from line 1788 of /srv/mediawiki/php-1.34.0-wmf.13/extensions/CheckUser/includes/specials/SpecialCheckUser.php: Call to a member function userCan() on a non-object (null)
#0 /srv/mediawiki/php-1.34.0-wmf.13/extensions/CheckUser/includes/specials/SpecialCheckUser.php(946): SpecialCheckUser->CUChangesLine(stdClass)
#1 /srv/mediawiki/php-1.34.0-wmf.13/extensions/CheckUser/includes/specials/SpecialCheckUser.php(745): SpecialCheckUser->doIPEditsRequestOutput(Wikimedia\Rdbms\ResultWrapper, string, boolean)
#2 /srv/mediawiki/php-1.34.0-wmf.13/extensions/CheckUser/includes/specials/SpecialCheckUser.php(110): SpecialCheckUser->doIPEditsRequest(string, boolean, integer)
#3 /srv/mediawiki/php-1.34.0-wmf.13/includes/specialpage/SpecialPage.php(571): SpecialCheckUser->execute(NULL)
#4 /srv/mediawiki/php-1.34.0-wmf.13/includes/specialpage/SpecialPageFactory.php(581): SpecialPage->run(NULL)
#5 /srv/mediawiki/php-1.34.0-wmf.13/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#6 /srv/mediawiki/php-1.34.0-wmf.13/includes/MediaWiki.php(884): MediaWiki->performRequest()
#7 /srv/mediawiki/php-1.34.0-wmf.13/includes/MediaWiki.php(515): MediaWiki->main()
#8 /srv/mediawiki/php-1.34.0-wmf.13/index.php(42): MediaWiki->run()
#9 /srv/mediawiki/w/index.php(3): include(string)
#10 {main}


Reported by @Melos, seems to happen when requesting IP contributions on Special:CheckUser. I think it will completely prevent people from carrying out the CU.
Seen 21 times, starting with today. wmf.13 only.



Event Timeline

Daimona created this task.Jul 17 2019, 2:36 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 17 2019, 2:36 PM
Daimona updated the task description. (Show Details)Jul 17 2019, 2:37 PM
Daimona triaged this task as High priority.Jul 17 2019, 2:42 PM

Not setting UBN until the exact impact is determined.

Mentioned in SAL (#wikimedia-operations) [2019-07-17T15:37:36Z] <Urbanecm> Deployed patch for T207094 T228284 to wmf.13 and wmf.14

Urbanecm claimed this task.Jul 17 2019, 3:39 PM
Urbanecm added a subscriber: Urbanecm.

Should be fixed.

Restricted Application added a project: User-Urbanecm. · View Herald TranscriptJul 17 2019, 3:39 PM

Mentioned in SAL (#wikimedia-operations) [2019-07-17T15:46:59Z] <Urbanecm> Re-syncing patch for T207094 T228284 and wmf.14

Urbanecm closed this task as Resolved.Jul 17 2019, 7:46 PM

Closing - I believe the bug has been fixed. If this is still wrong, please reopen&comment.