Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An unknown error occurred processing the reCAPTCHA response. #511

Open
2 tasks
kirtery opened this issue Feb 3, 2020 · 2 comments
Open
2 tasks

An unknown error occurred processing the reCAPTCHA response. #511

kirtery opened this issue Feb 3, 2020 · 2 comments

Comments

@kirtery
Copy link

kirtery commented Feb 3, 2020

Issue Overview

I have torro forms (1.0.8, no updates available) with google reCAPTCHA on my website. It has been working just fine more than a year but now I get an error message 'An unknown error occurred processing the reCAPTCHA response.' and the form is not sent. The keys are correct, and reCAPTCHA is working on login page. Any idea what is wrong? Should I downgrade torro forms?
Thanks for any help!

Steps to Reproduce (for bugs)

  1. Fill the form https://kirte.net/wp/forms/yhteydenotto-tiina/
  2. The fields are in English 'Name', 'Email' and 'Message'

Firefox 72.0.2 (64-bit)

Expected Behavior

The form should be sent like it was before, last successful submission is Jan 15th 2020.

Current Behavior

I get an error message 'An unknown error occurred processing the reCAPTCHA response.' and the form is not sent.

Error log says:
[03-Feb-2020 18:45:18 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/int50388a/public_html/wp/wp-content/plugins/torro-forms/src/modules/protectors/recaptcha.php on line 312
[03-Feb-2020 18:45:18 UTC] PHP Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: no suitable wrapper could be found in /home/int50388a/public_html/wp/wp-content/plugins/torro-forms/src/modules/protectors/recaptcha.php on line 312

Possible Solution

Screenshots / Video

Related Issues and/or PRs

Todos

  • Tests
  • Documentation
@kirtery
Copy link
Author

kirtery commented Feb 8, 2020

The reCAPTCHA issue in torro forms was fixed after the web host enabled allow_url_fopen in the global PHP configuration file. reCAPTCHA in login or registrations for Event Calendar didn't fail even if allow_url_fopen was disabled.

@mjmulders1989
Copy link

Can reCAPTCHA v3 be implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants