Page MenuHomePhabricator

Access to undeclared static property: AbuseFilter::$editboxName at /usr/local/apache/common-local/php-1.23wmf12/extensions/AbuseFilter/AbuseFilter.hooks.php on line 609
Closed, ResolvedPublic

Description

Fatal error: Access to undeclared static property: AbuseFilter::$editboxName at /usr/local/apache/common-local/php-1.23wmf12/extensions/AbuseFilter/AbuseFilter.hooks.php on line 609

#0 /usr/local/apache/common-local/php-1.23wmf12/extensions/AbuseFilter/AbuseFilter.hooks.php(609): AbuseFilterHooks::onMakeGlobalVariablesScript()
#1 [internal function]: AbuseFilterHooks::onMakeGlobalVariablesScript(Array, Object(OutputPage))
#2 /usr/local/apache/common-local/php-1.23wmf12/includes/Hooks.php(206): call_user_func_array('AbuseFilterHook...', Array)
#3 /usr/local/apache/common-local/php-1.23wmf12/includes/GlobalFunctions.php(3976): Hooks::run('MakeGlobalVaria...', Array, NULL)
#4 /usr/local/apache/common-local/php-1.23wmf12/includes/OutputPage.php(3076): wfRunHooks('MakeGlobalVaria...', Array)
5 /usr/local/apache/common-local/php-1.23wmf12/includes/OutputPage.php(2774): OutputPage->getJSVars()
#6 /usr/local/apache/common-local/php-1.23wmf12/includes/OutputPage.php(2524): OutputPage->getHeadScripts()
#7 /usr/local/apache/common-local/php-1.23wmf12/includes/SkinTemplate.php(538): OutputPage->headElement(Object(SkinVector))
#8 /usr/local/apache/common-local/php-1.23wmf12/includes/SkinTemplate.php(254): SkinTemplate->prepareQuickTemplate(Object(OutputPage))
#9 /usr/local/apache/common-local/php-1.23wmf12/includes/OutputPage.php(2074): SkinTemplate->outputPage()
#10 /usr/local/apache/common-local/php-1.23wmf12/includes/Wiki.php(593): OutputPage->output()
#11 /usr/local/apache/common-local/php-1.23wmf12/includes/Wiki.php(447): MediaWiki->main()
#12 /usr/local/apache/common-local/php-1.23wmf12/index.php(49): MediaWiki->run()
#13 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#14 {main}


Version: unspecified
Severity: normal

Details

Reference
bz60981

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:03 AM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz60981.
bzimport added a subscriber: Unknown Object (MLST).

No idea how this can ever happen... this should (and does) work flawless AFAIS:

hoo@deployment-bastion:~$ mwscript eval.php --wiki dewiki

var_dump( AbuseFilter::$editboxName );

NULL

Change 112026 had a related patch set uploaded by Hoo man:
Check whether AbuseFilter::$editboxName is set before using it

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

Change 112026 merged by jenkins-bot:
Check whether AbuseFilter::$editboxName is set before using it

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

Patch has been approved, so that I doubt this will reoccur.