Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get this error:
CAPTCHA validation error: unknown CAPTCHA session ID. Contact the site administrator if this problem persists.
Comments
Comment #1
AlexisWilke CreditAttribution: AlexisWilke commentedThat's a CAPTCHA error, not specific to the Hidden CAPTCHA.
The main reason why it happens is because the session times out and when the CAPTCHA is finally used, it's too late.
My solution in captcha/captcha.module is to make the time longer... Replace the 84600 below with a larger number (i.e. 84600 * 7 for 1 week). Try that and see if it fixes the problem. It appeared for me because I use Boost.
Thank you.
Alexis Wilke
Comment #2
Liam MorlandDrupal 6 is no longer supported. If this issue exists in Drupal 7, please re-open and provide details.