Last modified: 2014-02-07 18:35:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62981, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60981 - Access to undeclared static property: AbuseFilter::$editboxName at /usr/local/apache/common-local/php-1.23wmf12/extensions/AbuseFilter/AbuseFilter.hooks.php on line 609
Access to undeclared static property: AbuseFilter::$editboxName at /usr/local...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-06 20:28 UTC by Kunal Mehta (Legoktm)
Modified: 2014-02-07 18:35 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2014-02-06 20:28:18 UTC
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}
Comment 1 Marius Hoch 2014-02-06 20:44:35 UTC
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
Comment 2 Kunal Mehta (Legoktm) 2014-02-06 20:46:18 UTC
logstash says it occurred on http://en.wikipedia.org/wiki/Abuse_of_notation
Comment 3 Gerrit Notification Bot 2014-02-07 15:07:12 UTC
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
Comment 4 Gerrit Notification Bot 2014-02-07 18:22:54 UTC
Change 112026 merged by jenkins-bot:
Check whether AbuseFilter::$editboxName is set before using it

https://gerrit.wikimedia.org/r/112026
Comment 5 Marius Hoch 2014-02-07 18:35:23 UTC
Patch has been approved, so that I doubt this will reoccur.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links