On Tue, Mar 15, 2011 at 15:36, Platonides <Platonides(a)gmail.com> wrote:
Bill Traynor wrote:
I switched to questyCaptcha and am now seeing
errors such as:
Catchable fatal error: Object of class WebRequest could not be
converted to string
in/var/www/elinux.org/extensions/ConfirmEdit/QuestyCaptcha.class.php
on line 14
Here's the function causing this:
function keyMatch( $answer, $info ) {
return strtolower( $answer ) == strtolower( $info['answer'] );
}
Has anyone else seen errors with questyCaptcha? What would cause the
conversion error in this case?
Thanks
Bill
What are the contents of your passCaptcha() ?
You seem to be using a ConfirmEdit_body.php more than three years old. A
WebRequest object isn't passed as a parameter to keyMatch() since r30132.
You should replace it with the latest version.
I was certain I was using the version the extension Download function
provided for my version of MW (1.16.x). Just to be sure, I downloaded
again and installed the following version:
ConfirmEdit-MW1.16-r62678.tar.gz
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l