Catchable fatal error: Argument 2 passed to UploadStash::__construct() must be an instance of User, bool given in /srv/mediawiki/php-1.28.0-wmf.18/includes/upload/UploadStash.php on line 94
Description
Details
Related Objects
- Duplicates Merged Here
- T145272: File Upload 500 in mediawiki.org
Event Timeline
Change 309736 had a related patch set uploaded (by Bartosz Dziewoński):
Revert "Clean up user handling in UploadStash"
This results in a fatal when Special:Upload tries to upload a file from stash (this happens if the user gets a warning on the initial upload attempt; the file is stashed so that it doesn't have to be reuploaded if only file name or description needs correcting). There are around 100-200 instances per day in logstash (so presumably 100-200 uploads that could not be completed).
Change 309813 had a related patch set uploaded (by Dereckson):
Revert "Clean up user handling in UploadStash"
Mentioned in SAL [2016-09-12T13:31:22Z] <hashar@tin> Synchronized php-1.28.0-wmf.18/includes/upload/UploadStash.php: Revert "Clean up user handling in UploadStash" T145228 (duration: 00m 46s)
Mentioned in SAL [2016-09-12T13:32:32Z] <hashar@tin> Synchronized php-1.28.0-wmf.18/maintenance/cleanupUploadStash.php: Revert "Clean up user handling in UploadStash" T145228 (duration: 00m 46s)