Page MenuHomePhabricator

Fatal error: Using $this when not in object context in UserRolesMessage.php on line 250
Closed, ResolvedPublic

Description

[30-Jan-2014 20:05:04] Fatal error: Using $this when not in object context at /usr/local/apache/common-local/php-1.23wmf11/extensions/EducationProgram/includes/UserRolesMessage.php on line 250
Server: mw1075
Method: GET
URL: http://en.wikipedia.org/wiki/Special:Contributions/Nikkimaria
Backtrace:
#0 /usr/local/apache/common-local/php-1.23wmf11/extensions/EducationProgram/includes/UserRolesMessage.php(250): EducationProgram\{closure}()
#1 [internal function]: EducationProgram\{closure}(Array)
#2 /usr/local/apache/common-local/php-1.23wmf11/extensions/EducationProgram/includes/UserRolesMessage.php(255): array_map(Object(Closure), Array)
#3 /usr/local/apache/common-local/php-1.23wmf11/extensions/EducationProgram/EducationProgram.hooks.php(486): EducationProgram\UserRolesMessage->output()
#4 [internal function]: EducationProgram\Hooks::onSpecialContributionsBeforeMainOutput(372290, Object(User), Object(SpecialContributions))
#5 /usr/local/apache/common-local/php-1.23wmf11/includes/Hooks.php(206): call_user_func_array('EducationProgra...', Array)
#6 /usr/local/apache/common-local/php-1.23wmf11/includes/GlobalFunctions.php(4034): Hooks::run('SpecialContribu...', Array, NULL)
#7 /usr/local/apache/common-local/php-1.23wmf11/includes/specials/SpecialContributions.php(171): wfRunHooks('SpecialContribu...', Array)
#8 /usr/local/apache/common-local/php-1.23wmf11/includes/specialpage/SpecialPage.php(374): SpecialContributions->execute('Nikkimaria')
#9 /usr/local/apache/common-local/php-1.23wmf11/includes/SpecialPageFactory.php(487): SpecialPage->run('Nikkimaria')
#10 /usr/local/apache/common-local/php-1.23wmf11/includes/Wiki.php(298): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#11 /usr/local/apache/common-local/php-1.23wmf11/includes/Wiki.php(599): MediaWiki->performRequest()
#12 /usr/local/apache/common-local/php-1.23wmf11/includes/Wiki.php(460): MediaWiki->main()
#13 /usr/local/apache/common-local/php-1.23wmf11/index.php(49): MediaWiki->run()
#14 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#15 {main}


Version: unspecified
Severity: normal

Details

Reference
bz60641

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz60641.
bzimport added a subscriber: Unknown Object (MLST).
Reedy created this task.Jan 30 2014, 8:05 PM

Change 110491 had a related patch set uploaded by AndyRussG:
Remove $this from closure in UserRoleMessage

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

Change 110491 merged by jenkins-bot:
Remove $this from closure in UserRoleMessage

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