Page MenuHomePhabricator

Internal error when accessing user Preferences in Newsletter's Labs instance
Closed, ResolvedPublic


As a logged in user, gives an Internal error. Without accessing preferences, Echo notifications cannot be set, and therefore T101505 cannot be properly tested.

Reported initially at T76199#1393734

Internal error
[d48799a2] /wiki/Special:Preferences MWException from line 182 of /srv/vagrant/mediawiki/includes/Hooks.php: Invalid callback NewsletterHooks::onGetPreferences in hooks for GetPreferences

#0 /srv/vagrant/mediawiki/includes/Preferences.php(99): Hooks::run(string, array)
#1 /srv/vagrant/mediawiki/includes/Preferences.php(1260): Preferences::getPreferences(User, RequestContext)
#2 /srv/vagrant/mediawiki/includes/specials/SpecialPreferences.php(60): Preferences::getFormObject(User, RequestContext)
#3 /srv/vagrant/mediawiki/includes/specialpage/SpecialPage.php(384): SpecialPreferences->execute(NULL)
#4 /srv/vagrant/mediawiki/includes/specialpage/SpecialPageFactory.php(581): SpecialPage->run(NULL)
#5 /srv/vagrant/mediawiki/includes/MediaWiki.php(285): SpecialPageFactory::executePath(Title, RequestContext)
#6 /srv/vagrant/mediawiki/includes/MediaWiki.php(634): MediaWiki->performRequest()
#7 /srv/vagrant/mediawiki/includes/MediaWiki.php(431): MediaWiki->main()
#8 /srv/vagrant/mediawiki/index.php(41): MediaWiki->run()
#9 /var/www/w/index.php(5): include(string)
#10 {main}

Related Objects

Event Timeline

Qgil raised the priority of this task from to Needs Triage.
Qgil updated the task description. (Show Details)
Qgil added subscribers: Qgil, MGChecker.
Tinaj1234 set Security to None.

Please send in the corresponding patch to Gerrit too

Change 220313 had a related patch set uploaded (by Tinaj1234):
Fix internal error in user Preferences in Newsletter's Labs instance

Change 220313 merged by jenkins-bot:
Fix internal error in user Preferences in Newsletter's Labs instance

01tonythomas assigned this task to Tinaj1234.


Wow, that was fast (even faster considering that it's late night in India. Thank you!

Sure, we don't want silly errors hanging around to ruin our extension :)