Previously, the AntiBot plugin we're using on elinux.org (MW 1.16.4, PHP 5.2.14, AntiBot r.81100) began throwing Hook errors ( http://comments.gmane.org/gmane.org.wikimedia.mediawiki/37678)
I applied the patch as described in that thread and my problem went away for awhile.
My users have started to report the following errors again:
<b>Strict Standards</b>: Non-static method AntiBot_GenericFormEncoding::**onEditFilterMerged() cannot be called statically in<b>/var/www/elinux.org/**includes/Hooks.phphttp://elinux.org/includes/Hooks.php</b> on line <b>129</b><br /> <br /> <b>Strict Standards</b>: Non-static method AntiBot_GenericFormEncoding::**onEditFilterMerged() cannot be called statically in<b>/var/www/elinux.org/**includes/Hooks.phphttp://elinux.org/includes/Hooks.php</b> on line <b>133</b><br /> <br />
<b>Strict Standards</b>: Non-static method AntiBot_GenericFormEncoding::**onEditFilterMerged() cannot be called statically in<b>/var/www/elinux.org/**includes/Hooks.phphttp://elinux.org/includes/Hooks.php</b> on line <b>133</b><br /> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/**DTD/xhtml1-strict.dtd<http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd> "> <html lang="en" dir="ltr"> <head> <title>Editing Development Platforms (section) - eLinux.org</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="generator" content="MediaWiki 1.16.4" /> <meta name="robots" content="noindex,nofollow" /> <link rel="alternate" type="application/x-wiki" title="Edit" href="/index.php?title=**Development_Platforms&**action=edit" /> <link rel="edit" title="Edit" href="/index.php?title=**Development_Platforms&**action=edit" />
I've disabled AntiBot for now but would rather not leave it disabled for long. Is my most likely solution to upgrade PHP?
Thanks Bill
Bill Traynor wrote:
Previously, the AntiBot plugin we're using on elinux.org (MW 1.16.4, PHP 5.2.14, AntiBot r.81100) began throwing Hook errors ( http://comments.gmane.org/gmane.org.wikimedia.mediawiki/37678)
I applied the patch as described in that thread and my problem went away for awhile.
My users have started to report the following errors again:
<b>Strict Standards</b>: Non-static method AntiBot_GenericFormEncoding::**onEditFilterMerged() cannot be called statically in<b>/var/www/elinux.org/**includes/Hooks.phphttp://elinux.org/includes/Hooks.php</b> on line <b>129</b><br />
You shouldn't have display_error active on the live system. Those should be logged for later analysis, not thrown to your users.
<br /> <b>Strict Standards</b>: Non-static method AntiBot_GenericFormEncoding::**onEditFilterMerged() cannot be called statically in<b>/var/www/elinux.org/**includes/Hooks.php<http://elinux.org/includes/Hooks.php></b> on line <b>133</b><br /> <br />
I've disabled AntiBot for now but would rather not leave it disabled for long. Is my most likely solution to upgrade PHP?
No. Update the extension. That error was fixed by Chad in r90770 the 25th of June. http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90770
Which was precisely from your previous complaint. :/ You somehow got back to the old version.
On Wed, Nov 2, 2011 at 19:27, Platonides Platonides@gmail.com wrote:
Bill Traynor wrote:
Previously, the AntiBot plugin we're using on elinux.org (MW 1.16.4, PHP 5.2.14, AntiBot r.81100) began throwing Hook errors ( http://comments.gmane.org/gmane.org.wikimedia.mediawiki/37678)
I applied the patch as described in that thread and my problem went away for awhile.
My users have started to report the following errors again:
<b>Strict Standards</b>: Non-static method AntiBot_GenericFormEncoding::**onEditFilterMerged() cannot be called statically in<b>/var/www/elinux.org/**includes/Hooks.php<
http://elinux.org/includes/Hooks.php%3E</b>
on line <b>129</b><br />
You shouldn't have display_error active on the live system. Those should be logged for later analysis, not thrown to your users.
<br /> <b>Strict Standards</b>: Non-static method AntiBot_GenericFormEncoding::**onEditFilterMerged() cannot be called statically in<b>/var/www/elinux.org/**includes/Hooks.php<
http://elinux.org/includes/Hooks.php%3E</b>
on line <b>133</b><br />
<br />
I've disabled AntiBot for now but would rather not leave it disabled for long. Is my most likely solution to upgrade PHP?
No. Update the extension. That error was fixed by Chad in r90770 the 25th of June. http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90770
Which was precisely from your previous complaint. :/ You somehow got back to the old version.
I simply applied a patch back then, which obviously wouldn't update the revision number. Nothing changed since then though.
Regardless, I'll update the extension.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 03/11/11 00:41, Bill Traynor wrote:
I simply applied a patch back then, which obviously wouldn't update the revision number. Nothing changed since then though.
Regardless, I'll update the extension.
So, if you open that file, does it still read public static function onEditFilterMerged( $editPage, $text, &$hookError ) { ? In that case you wouldn't be getting that error. Somehow, it got deapplied.
mediawiki-l@lists.wikimedia.org