I got this error when uninstalling the module (after first unchecking the forms it was linked to then disabling it).

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'captcha_after_%' in 'where clause': DELETE FROM {variable} WHERE name LIKE "captcha_after_%"; Array ( ) in captcha_after_uninstall() (line 51 of [my local installation stuff here]\sites\all\modules\captcha_after\captcha_after.install).

I was uninstalling due to the error noted in http://drupal.org/node/1254616

Sorry, I don't have the debug info you requested in 1254616

I want this module to work for me, so happy to help out where I can, but simply had to crack on upgrading this site without this module.

Comments

pivica’s picture

Category: support » bug
Status: Active » Fixed

Hi,

thx for this bug report, should be fixed now in latest dev version.

Sorry, I don't have the debug info you requested in 1254616

It's a peaty we miss one more opportunity to get enough info's for fixing this bug.

Tezza’s picture

Thanks pivica.

I've been trying a similar module since uninstalling CAPTCHA After but I've now uninstalled that one (BOTCHA) and re-installed CAPTCHA After to see if I can help with the debug. You may have to give me some pointers though, as i'm a bit of a noob.

I'll make a post to #1254616: Undefined index, Only variable references.... in a short while.

pivica’s picture

Great, lets continue discussion there.

Tezza’s picture

Dev of 2012-May-07 does indeed fix this error. Thanks pivica.

Incidentally, would the initial bug have left something in the database that needs attention?

pivica’s picture

> Incidentally, would the initial bug have left something in the database that needs attention?

Nope, that broken SQL only needed to delete some variables from variable table on uninstall - it failed and didn't delete those variables on uninstall event. So nothing get broken in your db.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.