Google Recaptcha

#1
Is there a bug with Google Recaptcha and LiteSpeed that anyone else is getting? It was working before LiteSpeed and it works if removed. When activate, I am getting grecaptcha is not defined errors and Spam coming in using Contact Form 7.

WordPress Version 5.0.2
Contact Form 7 Version 5.1.1
LiteSpeed Cache Version 2.8.1
LiteSpeed Server 5.3.5 (build 2)
 

Unique_Eric

Administrator
Staff member
#2
Hi @techroyal,

I can reproduce "WP5.0.2+Contact form 7+LSCache 2.8.x+LSWS 5.3.5" the error when only LSCache->JS Optimize xxx enabled.
To identify the issue, please try turn off JS/Minify/Combine/Push and do a purge see if it helps.

Workaround:
add /repatcha/api.js in to “JS Excludes” field and you can still keep js optimize functions enabled.

Best,
 
Last edited:
Top