Hi,

I'm using captcha 3

Whenever I submit a form with captcha enabled, I get:
Fatal error: Cannot unset string offsets in /home/vhosts/foolab.org/www/sites/all/modules/contrib/captcha/captcha.module on line 591

If I comment that line, I get "Invalid captcha token"

I tried with ascii art and with image. Same problem.

Comments

soxofaan’s picture

Status: Active » Closed (duplicate)

I guess you upgraded from a previous version of CAPTCHA and there is still some session data from the old version around.

this issue is discussed more thoroughly in
http://drupal.org/node/163671#comment-587511
hope this helps

I'm flagging this as duplicate, if the thread mentioned above does not help, set it to active again

msameer’s picture

Status: Closed (duplicate) » Closed (fixed)

Thanks for the quick reply :-)

Deleting 920492 rows from the sessions table was the easiest thing to do and it works like a charm!

I'm closing this bug.