[Mediawiki-l] questyCaptcha errors

Platonides Platonides at gmail.com
Tue Mar 15 19:36:50 UTC 2011


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.




More information about the MediaWiki-l mailing list