Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

redeclare class ReCaptchaResponse

Open thanhluu opened this issue 11 years ago • 4 comments

I'm using another plugin with the same ReCaptchaResponse class and I got this error:

Fatal error: Cannot redeclare class ReCaptchaResponse in /.../wp-content/plugins/unyson/framework/extensions/forms/includes/option-types/form-builder/items/recaptcha/includes/ReCaptcha/Response.php on line 31

Can you check. Thanks

thanhluu avatar Jul 21 '15 13:07 thanhluu

@thanhluu can you say what plugin you use in order to reproduce this bug ,please give us a link.Thanks.

llemurya avatar Jul 21 '15 13:07 llemurya

It doesn't matter. Many plugins can include ReCaptcha library, better to check if (class_exists('...')) before including the file with class.

ghost avatar Jul 21 '15 13:07 ghost

Yes I think so. The plugin was conflict with Unyson is EDD Frontend Submissions

thanhluu avatar Jul 21 '15 13:07 thanhluu

https://github.com/mcguffin/wp-recaptcha-integration/issues/49

wtfiwtz avatar Sep 17 '15 06:09 wtfiwtz