Please Disable Your Browser Adblock Extension for our site and Refresh This Page!

our ads are user friendly, we do not serve popup ads. We serve responsible ads!

Refresh Page
Skip to main content
On . By CodimTh
Category:

Question:
How to resolve this error: CAPTCHA validation error: unknown CAPTCHA session ID. Contact the site administrator if this problem persists. 

Solution:

Edit the recaptcha.module file:

change this code:

// As the validate callback does not depend on sid or solution, this
// captcha type can be displayed on cached pages.
$captcha['cacheable'] = TRUE;

By this code:

// As the validate callback does not depend on sid or solution, this
// captcha type can be displayed on cached pages.
//$captcha['cacheable'] = TRUE;
$captcha['cacheable'] = FALSE;
\Drupal::service('page_cache_kill_switch')->trigger();

Comments

Add new comment

Restricted HTML

Search

Page Facebook

Become a patron

If you need some help or you search a Drupal freelancer don't hesitate to contact us.

 

Contact Us

All the content is FREE but I still need your help

 

Become a patreon