Buy Now
Sign in

Recaptcha error on previously working forms

kenmcmahon , May 15 2019, 13:57
K
kenmcmahon 21
May 15 2019, 13:57 #386876
All of a sudden, and for no apparent reason two forms that were previously working fine on my site are generating the The reCAPTCHA wasn't entered correctly. Please try it again. error message. I've added a debugger and this is what I get:
Array
(
[chronoform] => feedback
[event] => submit
[Date] =>
[Title] => Mr
[FirstName] => Ken
[Surname] => McMahon
[Department] =>
[TeamMember] =>
[Source] =>
[NoReason] =>
[Improvement] =>
[email] => 07976433223
[g-recaptcha-response] => 03AOLTBLSZHfwO33PRdq0YWZYlM1rKWUMS_cTSj3ti881x_Psw75BdJXlFFBth5OzJGot5BN3jgscHNIQ5-EpvW5bSh-pa1U953D4cwVJR7ZUbXa3ERdynRH64_-ryZFfA466v_eJUrIgK7lqNTdaCYFQORSlo48JZH-gaMZyCysRdgd_NQAF74T0XnujA1EqnPHVgSP5H74WbFIBJm7o1aW7qegbEGjgslcZLRlfqmVGPcs9C9tXkA695WUkEIq5-8MaORrSdldmMOs1o2q5JHWBY90epu_nuniY7jvbca7UEnTCYWYvRki7X940NPylup6guFO3Vk1Cb
[Submit] => Submit
)
Any ideas what might be causing this?
Thanks
Ken
healyhatman 6
May 15 2019, 23:51 #386885
I don't see on there the debug output from the recaptcha check? Also if you have a separate recaptcha check action, make sure you have the automatic check disabled under the form settings.
Web developer at SkySpider.com.au
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
K
kenmcmahon 21
May 16 2019, 08:35 #386902
Thanks for the suggestions. That's the only populated field in the debug report - all the others are empty. I'm using Load Google noCaptcha and Check Google NoCaptcha. No automatic check on that. Also, as I said, it was all working fine before, for several months, and nothing has changed.
Ken
healyhatman 6
May 16 2019, 08:37 #386903
So you haven't updated Chronoforms? Because there are new automatic checks. You may need to convert your form to the 6.1 version
Web developer at SkySpider.com.au
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
GreyHead 64
May 16 2019, 08:37 #386904
Hi Ken,
Clearly something has changed . . . please post a link to one of the forms so that we can take a quick look.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
K
kenmcmahon 21
May 16 2019, 09:31 #386906
Hi Bob. Agreed!
The form is here https://www.penderlaw.co.uk/where-we-are/contact-us/
Ken
healyhatman 6
May 16 2019, 10:31 #386907
"Page not found" (EDIT never mind there was an extra space in the URL bar for some reason)
Web developer at SkySpider.com.au
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
K
kenmcmahon 21
May 16 2019, 16:23 #386913
Only thing I can think of that has changed is PHP version updated from 5.6 to 7.2. But that seems an unlikely culprit. Would really appreciate some help to try and get this sorted before the weekend.
Ken
K
kenmcmahon 21
May 16 2019, 16:42 #386914
@healyhatman I'm on v5.0.17 which according to the website is the most recent version. Running on WP5.2
Ken
K
kenmcmahon 21
May 16 2019, 17:06 #386915
ok, now I'm really at a loss.
I decided to edit the form to substitute the nocaptchas with recaptchas to see if that made a difference. I ended up having to delete all the existing setup to start again. Then when I added new objects in the setup tab they weren't saving. now all I can see in the setup is a blank page. No buttons, nothing. (see grab)
I've been messing around with this for over an hour and now I have no form at all, as opposed to one that's not working.
Some help would be very welcome.
Thanks
Ken
Screenshot_2019-05-16_at_18.02.18.png
Attachments
Screenshot_2019-05-16_at_18.02.18.png
Screenshot_2019-05-16_at_18.02.18.png
(39.34 KiB)
87 Downloads/Views
healyhatman 6
May 17 2019, 02:23 #386916
Didn't realise you were on the old v5 sorry, Bob is the only one that can help you with that. All I can suggest is that you reinstall CF in case something got corrupted
Web developer at SkySpider.com.au
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
GreyHead 64
May 17 2019, 08:02 #386918
Hi Ken,
I just checked the Contact form you linked to and it seems to have submitted correctly (as far as I can tell from the front end. The data submitted is below and I got the Form successfully submitted! message afterwards.
Bob
Name: Bob+Testing
Telephone: 01234445556
Email: example%40example.com
Enquiry: Testing
media: Other+%28please+specify%29
g-recaptcha-response: 03AOLTBL . . .
Submit: Submit
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
K
kenmcmahon 21
May 17 2019, 13:52 #386922
Hi Bob,
Thanks for checking. Yes the form is working, I managed to track down the problem late last night, but was too tired to post and this is the first chance I've had today. In case anyone has siimilar problems the issue was with the PHP update. allow_url_fopen was disabled on the new version, once I enabled it all was fine.
I still have the problem with the second form. If I'd just left it alone all would be fine, but I've deleted everything in the setup tab and now when I try to add it back nothing saves. So it currently looks like this:
Screenshot_2019-05-17_at_14.46.48.png
And if I drag, say, an HTML (Render Form) element to the On load section, then click save, it says 'saved successfully' at the top of the screen and returns me to the General tab, then when I go back to the Setup tab it's blank again.
Also, I've restored the entire site, including the database, but still no form, which is perplexing.
Anyhow, if anyone can help me get to the bottom of this I'd really appreciate it.
Ken
Attachments
Screenshot_2019-05-17_at_14.46.48.png
Screenshot_2019-05-17_at_14.46.48.png
(92.54 KiB)
69 Downloads/Views
K
kenmcmahon 21
May 17 2019, 14:19 #386923
So I managed to edit the form by backing up and restoring what I had to another WP site, Editing it, then backing it up and restoring to the original site. Not ideal, but it gets me out of the hole I was in for now.
Another thing happens when I try and edit, which is that on saving I sometimes get a white screen with the message 'The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.' I never got this prior to updating to WP 5.2.
Ken
K
kenmcmahon 21
May 20 2019, 12:42 #386975
Here's an update on the WP 5.2 error this from the email that gets sent every time I try and edit the form
Error Details=============An error of type E_ERROR was caused in line 1 of the file /home/penderlawco/public_html/wp-content/plugins/chronoforms/cegcore/libs/arr.php(60) : eval()'d code. Error message: Uncaught Error: Cannot use string offset as an array in /home/penderlawco/public_html/wp-content/plugins/chronoforms/cegcore/libs/arr.php(60) : eval()'d code:1Stack trace:#0 /home/penderlawco/public_html/wp-content/plugins/chronoforms/cegcore/libs/arr.php(60): eval()#1 /home/penderlawco/public_html/wp-content/plugins/chronoforms/admin/chronoforms/chronoforms.php(184): GCore\Libs\Arr::setVal(Array, Array, '')#2 /home/penderlawco/public_html/wp-content/plugins/chronoforms/cegcore/libs/app_wp.php(246): GCore\Admin\Extensions\Chronoforms\Chronoforms->save()#3 /home/penderlawco/public_html/wp-content/plugins/chronoforms/cegcore/libs/app_wp.php(437): GCore\Libs\AppWp->dispatch(true)#4 /home/penderlawco/public_html/wp-content/plugins/chronoforms/wordpress_gcloader.php(85): GCore\Libs\AppWp::call('admin', 'chronoforms', '', 'save', Array)#5 /home/penderlawco/public_html/wp-content/plugins/chronoforms/chronoforms5.php(86): WordpressGCLoader->__construct('admin', 'chronoforms', 'chronoforms')#6 /home/penderlawc
GreyHead 64
May 20 2019, 12:45 #386976
Hi Ken,
Please make sure that you have the latest release of CFv5 installed. See this thread for a similar report.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
K
kenmcmahon 21
May 20 2019, 12:47 #386977
Hi Bob, I'm on v5.0.17 which according to the website is the most recent version. Or am I missing something?
Ken
K
kenmcmahon 21
May 20 2019, 12:51 #386978
Seen the fixes. I'll try that, or maybe revert to an earlier PHP version.
Thanks Bob.
Ken
K
kenmcmahon 21
May 21 2019, 07:44 #386985
ok, I've reverted to PHP7.0 and am able to edit with no errors.
Bob, given that a lot of people are going to be finding themselves in the same place when they update to PHP 7.2, will there be an update to Chronoforms 5 for WP to address this?
Thanks
Ken
healyhatman 6
May 21 2019, 07:47 #386986
If you like keeping things updated, it might be time to move to v6
Web developer at SkySpider.com.au
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store