Page MenuHomePhabricator

Call to undefined method SimpleCaptcha::showImage()
Closed, ResolvedPublic

Description

PHP Fatal error: Call to undefined method SimpleCaptcha::showImage() in /var/www/w/extensions/ConfirmEdit/ConfirmEdit_body.php on line 57

[16:38] <siebrand> NicDumZ: can you give the me steps to reproduce for the issue?
[16:39] <NicDumZ> oh, that's you're not using image captchas !
[16:40] <NicDumZ> because.
[16:41] <NicDumZ> pywp is scraping for that line <input type="hidden" name="wpCaptchaId" id="wpCaptchaId" value="1495761080" />
[16:41] <NicDumZ> which appears on edits by new accounts

Still shouldn't result in a fatal error, I guess.


Version: unspecified
Severity: normal

Details

Reference
bz16025

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:20 PM
bzimport set Reference to bz16025.
bzimport added a subscriber: Unknown Object (MLST).

nicdumz wrote:

To clarify this: pywp only supported image captchas until now; didn't know about word captchas. The bot was not supposed to access this page with a Word captcha, and the behavior has been fixed since.

Not sure if in the current version of the extension, such URLs have to be accessed; however such a behavior, even on a bad page title/use case, is wrong :)