Page MenuHomePhabricator

Error: Class 'MediaWiki\Extension\CentralAuth\CentralAuthServices' not found
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   Error: Class 'MediaWiki\Extension\CentralAuth\CentralAuthServices' not found
exception.trace
from /srv/mediawiki/php-1.40.0-wmf.19/extensions/SecurePoll/cli/findUsersWithRight.php(101)
#0 /srv/mediawiki/php-1.40.0-wmf.19/extensions/SecurePoll/cli/findUsersWithRight.php(65): MediaWiki\Extension\SecurePoll\FindUsersWithRight->doLocalGroups()
#1 /srv/mediawiki/php-1.40.0-wmf.19/maintenance/includes/MaintenanceRunner.php(495): MediaWiki\Extension\SecurePoll\FindUsersWithRight->execute()
#2 /srv/mediawiki/php-1.40.0-wmf.19/maintenance/doMaintenance.php(99): MediaWiki\Maintenance\MaintenanceRunner->run()
#3 /srv/mediawiki/php-1.40.0-wmf.19/extensions/SecurePoll/cli/findUsersWithRight.php(200): require_once(string)
#4 /srv/mediawiki/multiversion/MWScript.php(118): require_once(string)
#5 {main}
Impact
Notes

Appears on non-SUL wikis.

Event Timeline

This sounds like some SP code has been written assuming it's got CA available which is not installed on non-SUL wikis (i.e. $wmgUseCentralAuth = false;) but is being run there manually?

Change 881663 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/SecurePoll@master] findUsersWithRight: Don't run CA code unless CA is loaded

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

Change 881663 merged by jenkins-bot:

[mediawiki/extensions/SecurePoll@master] findUsersWithRight: Don't run CA code unless CA is loaded

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