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