wp-recaptcha-integration icon indicating copy to clipboard operation
wp-recaptcha-integration copied to clipboard

3 issues

Open miamos opened this issue 10 years ago • 3 comments

  1. When captcha plugin is activated and Memberships pro option “use reCAPTCHA” is set to Yes I got white screen and issue: Cannot redeclare recaptcha_get_html() (previously declared in paid-memberships-pro\includes\recaptcha.php:41) in \plugins\wp-recaptcha-integration\inc\recaptchalib.php on line 129
  2. Once membership pro captcha is disabled and only reCaptcha is activated and set to “Old style reCAPTCHA where you type some cryptic text” reCaptach still does not work correctly, it does not appear on contact form 7
  3. If option “No Captcha where you just click a button” is selected captcha appears on the contact form 7 and works correctly however it does not appear on registration form of Buddypress. At the same time if I click submit on the registration form of Buddypress I’m redirected to another page with error saying: “Error: the Captcha didn’t verify.”

miamos avatar Jul 10 '15 06:07 miamos

I am only dealing with the first issue here. May I kindly ask you to post each of your problems as a separate issue and to give a speaking title, so others having the same problem may find it better? Thanks in advance!

  1. The function in question is part of google's recaptcha PHP library. The error means that the Library is included twice. It is pretty confusing, that the issue still appears, because the plugin already checks if the google library is already present before loading its own. The only reason I can imageine is that the authors of memberships pro changed something in the google code, so that my test does not work anymore. I just made a small change that might fix this. Basically it is just one line, you can either download the plugin here or just change it through the WP editor: See: https://github.com/mcguffin/wp-recaptcha-integration/blob/master/inc/class-wp_recaptcha_recaptcha.php#L44

mcguffin avatar Jul 13 '15 09:07 mcguffin

Thank you, I will test it and let know. In the meantime I registered remaining issues (2 & 3) separately

miamos avatar Jul 15 '15 04:07 miamos

Thank you it fixed the issue.

miamos avatar Jul 20 '15 07:07 miamos