Page MenuHomePhabricator

Argument 1 passed to HAWelcomeHooks::onUserGroupsChanged() must be an instance of User, instance of CentralAuthGroupMembershipProxy given, called in /srv/mediawiki/w/includes/HookContainer/HookContainer.php on line 338
Closed, ResolvedPublic

Description

Error
  • mwversion: 1.37.1
normalized_message
Argument 1 passed to HAWelcomeHooks::onUserGroupsChanged() must be an instance of User, instance of CentralAuthGroupMembershipProxy given, called in /srv/mediawiki/w/includes/HookContainer/HookContainer.php on line 338
exception.trace
from /srv/mediawiki/w/extensions/HAWelcome/HAWelcome.hooks.php(160)
#0 /srv/mediawiki/w/includes/HookContainer/HookContainer.php(338): HAWelcomeHooks::onUserGroupsChanged(CentralAuthGroupMembershipProxy, array, array, User, string, array, array)
#1 /srv/mediawiki/w/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#2 /srv/mediawiki/w/includes/HookContainer/HookRunner.php(4154): MediaWiki\HookContainer\HookContainer->run(string, array)
#3 /srv/mediawiki/w/includes/specials/SpecialUserrights.php(443): MediaWiki\HookContainer\HookRunner->onUserGroupsChanged(CentralAuthGroupMembershipProxy, array, array, User, string, array, array)
#4 /srv/mediawiki/w/includes/specials/SpecialUserrights.php(364): UserrightsPage->doSaveUserGroups(CentralAuthGroupMembershipProxy, array, array, string, array, array)
#5 /srv/mediawiki/w/includes/specials/SpecialUserrights.php(235): UserrightsPage->saveUserGroups(string, string, CentralAuthGroupMembershipProxy)
#6 /srv/mediawiki/w/includes/specialpage/SpecialPage.php(647): UserrightsPage->execute(NULL)
#7 /srv/mediawiki/w/includes/specialpage/SpecialPageFactory.php(1366): SpecialPage->run(NULL)
#8 /srv/mediawiki/w/includes/MediaWiki.php(314): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#9 /srv/mediawiki/w/includes/MediaWiki.php(930): MediaWiki->performRequest()
#10 /srv/mediawiki/w/includes/MediaWiki.php(564): MediaWiki->main()
#11 /srv/mediawiki/w/index.php(53): MediaWiki->run()
#12 /srv/mediawiki/w/index.php(46): wfIndexMain()
#13 {main}
Impact

No log seen for change of user rights, shows exception but actual change proceeded.

Notes

Event Timeline

RhinosF1 changed the subtype of this task from "Production Error" to "Task".

Also Argument 1 passed to HAWelcomeHooks::onUserGroupsChanged() must be an instance of User, instance of UserRightsProxy given, called in /srv/mediawiki/w/includes/HookContainer/HookContainer.php on line 338

Umherirrender subscribed.

The CentralAuthGroupMembershipProxy should not appear since fix of CentralAuth in T263207

UserRightsProxy gets removed with T255309