when attempting to create a Support thread on mediawiki it is giving me an error [X-Ta0wpAIDsAAE5NTsIAAACL] Caught exception of type Error
Description
Details
- Request ID
- X-Ta0wpAIDsAAE5NTsIAAACL
- Request URL
- https://www.mediawiki.org/wiki/Project:Support_desk
2021-01-05 21:32:04 [X-Ta0wpAIDsAAE5NTsIAAACL] mw1347 mediawikiwiki 1.36.0-wmf.25 exception ERROR: [X-Ta0wpAIDsAAE5NTsIAAACL] /w/api.php Error from line 100 of /srv/mediawiki/php-1.36.0-wmf.25/extensions/Flow/includes/SpamFilter/AbuseFilter.php: Class 'AbuseFilter' not found {"exception_id":"X-Ta0wpAIDsAAE5NTsIAAACL","exception_url":"/w/api.php","caught_by":"entrypoint"} [Error Error] (/srv/mediawiki/php-1.36.0-wmf.25/extensions/Flow/includes/SpamFilter/AbuseFilter.php:100) Class 'AbuseFilter' not found #0 /srv/mediawiki/php-1.36.0-wmf.25/extensions/Flow/includes/SpamFilter/Controller.php(55): Flow\SpamFilter\AbuseFilter->validate(DerivativeContext, Flow\Model\PostRevision, NULL, Title, Title) #1 /srv/mediawiki/php-1.36.0-wmf.25/extensions/Flow/includes/Block/AbstractBlock.php(251): Flow\SpamFilter\Controller->validate(DerivativeContext, Flow\Model\PostRevision, NULL, Title, Title) #2 /srv/mediawiki/php-1.36.0-wmf.25/extensions/Flow/includes/Block/TopicListBlock.php(107): Flow\Block\AbstractBlock->checkSpamFilters(NULL, Flow\Model\PostRevision) #3 /srv/mediawiki/php-1.36.0-wmf.25/extensions/Flow/includes/Block/AbstractBlock.php(144): Flow\Block\TopicListBlock->validate() #4 /srv/mediawiki/php-1.36.0-wmf.25/extensions/Flow/includes/SubmissionHandler.php(121): Flow\Block\AbstractBlock->onSubmit(array) #5 /srv/mediawiki/php-1.36.0-wmf.25/extensions/Flow/includes/WorkflowLoader.php(62): Flow\SubmissionHandler->handleSubmit(Flow\Model\Workflow, DerivativeContext, array, string, array) #6 /srv/mediawiki/php-1.36.0-wmf.25/extensions/Flow/includes/Api/ApiFlowBasePost.php(22): Flow\WorkflowLoader->handleSubmit(DerivativeContext, string, array) #7 /srv/mediawiki/php-1.36.0-wmf.25/extensions/Flow/includes/Api/ApiFlow.php(108): Flow\Api\ApiFlowBasePost->execute() #8 /srv/mediawiki/php-1.36.0-wmf.25/includes/api/ApiMain.php(1612): Flow\Api\ApiFlow->execute() #9 /srv/mediawiki/php-1.36.0-wmf.25/includes/api/ApiMain.php(592): ApiMain->executeAction() #10 /srv/mediawiki/php-1.36.0-wmf.25/includes/api/ApiMain.php(563): ApiMain->executeActionWithErrorHandling() #11 /srv/mediawiki/php-1.36.0-wmf.25/api.php(90): ApiMain->execute() #12 /srv/mediawiki/php-1.36.0-wmf.25/api.php(45): wfApiMain() #13 /srv/mediawiki/w/api.php(3): require(string) #14 {main}
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Release | jeena | T267418 1.36.0-wmf.25 deployment blockers | ||
Resolved | PRODUCTION ERROR | Reedy | T271266 "Caught exception of type Error" when creating new flow threads |
Event Timeline
I think the problem is that for the non namespaced 'AbuseFilter' class, it should be in autoload classes still, otherwise MW has no idea where to find it
And/or update the reference
Change 654512 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/extensions/AbuseFilter@master] Explicitly Autoload old aliased classes
Change 654447 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/extensions/AbuseFilter@wmf/1.36.0-wmf.25] Explicitly Autoload old aliased classes
Change 654447 merged by Reedy:
[mediawiki/extensions/AbuseFilter@wmf/1.36.0-wmf.25] Explicitly Autoload old aliased classes
Mentioned in SAL (#wikimedia-operations) [2021-01-05T22:26:50Z] <reedy@deploy1001> Synchronized php-1.36.0-wmf.25/extensions/AbuseFilter/extension.json: T271266 (duration: 01m 04s)
Confirmed fixed on prod in https://www.mediawiki.org/w/index.php?title=Topic:W0z3fznqu5781hkw&action=history
Change 654512 merged by jenkins-bot:
[mediawiki/extensions/AbuseFilter@master] Explicitly Autoload old aliased classes