Error
- mwversion: 1.37.0-wmf.6
- reqId: 41696e7f-a795-412a-af25-49beeec831be
- Find reqId in Logstash
- Find normalized_message in Logstash
[{reqId}] {exception_url} TypeError: Argument 2 passed to UploadStash::__construct() must implement interface MediaWiki\User\UserIdentity or be null, boolean given, called in /srv/mediawiki/php-1.37.0-wmf.6/includes/upload/UploadFromStash.php on line 66
from /srv/mediawiki/php-1.37.0-wmf.6/includes/upload/UploadStash.php(88) #0 /srv/mediawiki/php-1.37.0-wmf.6/includes/upload/UploadFromStash.php(66): UploadStash->__construct(LocalRepo, boolean) #1 /srv/mediawiki/php-1.37.0-wmf.6/includes/upload/UploadBase.php(220): UploadFromStash->__construct() #2 /srv/mediawiki/php-1.37.0-wmf.6/includes/specials/SpecialUpload.php(127): UploadBase::createFromRequest(WebRequest) #3 /srv/mediawiki/php-1.37.0-wmf.6/includes/specials/SpecialUpload.php(231): SpecialUpload->loadRequest() #4 /srv/mediawiki/php-1.37.0-wmf.6/includes/specialpage/SpecialPage.php(646): SpecialUpload->execute(NULL) #5 /srv/mediawiki/php-1.37.0-wmf.6/includes/specialpage/SpecialPageFactory.php(1390): SpecialPage->run(NULL) #6 /srv/mediawiki/php-1.37.0-wmf.6/includes/MediaWiki.php(314): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext) #7 /srv/mediawiki/php-1.37.0-wmf.6/includes/MediaWiki.php(917): MediaWiki->performRequest() #8 /srv/mediawiki/php-1.37.0-wmf.6/includes/MediaWiki.php(551): MediaWiki->main() #9 /srv/mediawiki/php-1.37.0-wmf.6/index.php(53): MediaWiki->run() #10 /srv/mediawiki/php-1.37.0-wmf.6/index.php(46): wfIndexMain() #11 /srv/mediawiki/w/index.php(3): require(string) #12 {main}
Impact
- Seen about 20 on of these commons in about 5 hours after rolling forward
- Seems like this was introduced with https://gerrit.wikimedia.org/r/c/mediawiki/core/+/688369 (adding @Pchelolo )