[Mediawiki-l] AntiBot throws Hook errors

Bill Traynor btraynor at gmail.com
Sat Jun 25 12:11:40 UTC 2011


I can't seem to get rid of the following errors for my users.

Strict Standards: Non-static method
AntiBot_GenericFormEncoding::onEditFilterMerged() cannot be called
statically in /var/www/elinux.org/includes/Hooks.php on line 129

Strict Standards: Non-static method
AntiBot_GenericFormEncoding::onEditFilterMerged() cannot be called
statically in /var/www/elinux.org/includes/Hooks.php on line 131

Strict Standards: Non-static method
AntiBot_GenericFormEncoding::onEditFilterMerged() cannot be called
statically in /var/www/elinux.org/includes/Hooks.php on line 133

Hooks.php:
129:  // Run autoloader (workaround for call_user_func_array bug)
130                is_callable( $callback );
131
132               /* Call the hook. */
133               wfProfileIn( $func );
134                $retval = call_user_func_array( $callback, $hook_args );
135                wfProfileOut( $func );

What bug is this workaround referring to?  I searched Bugzilla for
"call_user_func_array" but didn't find anything.  Do I simply need to
Upgrade?

Thanks.


More information about the MediaWiki-l mailing list