Archived topic
Captcha Issues
7 replies · Started by David on April 15, 2021
Hi there,
We're having issues with Generate Press and Captcha using the contact form widget. There seems to be a conflict that stops Captcha from working. Tried it with Astra and works fine, but not working with Generate Press. There also seems to be an issue with using Gravity Forms Styler too that stops contact forms from working/send emails to their contact email.
I couldn't find these specific issues on other forum chats, hoping this is a fixable issue.
Thanks,
David
Hi there,
GP itself doesn't interfere with plugins - it doesn't even know they exist - so there maybe something else conflicting. can you share a link to a page where i can see the problem with the Form ?
Hi David,
Thanks for your help.
We're currently having the issue on all forms, below are a couple of pages with the issue:
https://aabsoluteselfstorage.co.uk/contact/
https://aabsoluteselfstorage.co.uk/get-a-quote/
Thanks again for your help,
David
I am seeing a large of amount of errors in the developers console - the first if which looks to be generated from the jquery-migrate script. Can you try disabling the jquery migrate plugin
Hi David,
That's now been disabled, was added as a recommendation from Gravity Forms, however, has now been disabled.
Thanks,
David
Ok still seeing a bunch of ( different ) jQuery related errors - looking at the stack they begin with the GDPR script thats hooked into the font. It's complaining it cannot find the jQuery variable - which generally means those scripts are being fired before jQuery has loaded.
The page source also says its generated by Litespeed cache - which may be the problem. Can you disable the cache temporarily to see if that is affecting it.
Hi David,
Litespeed Cache has been disabled, however, seems to still be an issue with the Captcha unfortunately :/
Thanks,
David
So if i check the Source of the site - right before the closing </html> tag i see the two errors:
https://www.screencast.com/t/dRSN793vWr
the error is because jQuery hasn't loaded.
So i looked for where the jQuery requests are made - in the <head>
https://www.screencast.com/t/A5mOYaTTjYsg
Both the scripts are set to defer - so they're loading after the HTML has loaded. Which would cause the errors we see above.
GP doesn't add defer to scripts or anything like that. It doesn't even make a request for jQuery unless you're using something like the sticky nav or blog masonry.
You need to find what plugin or function is deferring the scripts.