Yazir Arafath
asked 10 years ago

When I try to activate the plugin, I am getting following error.
Fatal error: Cannot redeclare _recaptcha_qsencode() (previously declared in /usr/share/nginx/html/wp-content/plugins/userpro/lib/recaptchalib.php:47) in /usr/share/nginx/html/wp-content/plugins/dw-question-answer/inc/lib/recaptcha-php/recaptchalib.php on line 55
Why is that?
PS : Once I installed & uninstalled the plugin. This is happening when I am trying to install for the 2nd time.

Yazir Arafath
replied 10 years ago

Update : Is there anyway to disable recaptcha in DW Question Answer plugin? I tried to comment the lines from 47 to 55. But that also didn't work.

2 Answers
well wisher
answered 10 years ago

did you just deactivated the plugin and tried to reinstall it from upload without deleting the old or did you also deleted it when you deactivated it the first time?
There are settings available for disabling the recaptcha in settings of the plugin just try and remove the public and private keys from there

Yazir Arafath
replied 10 years ago

DWQA recaptcha library is conflicting with UserPro recaptcha library. I think only DWQA devs can find a fix for it.

Yazir Arafath
answered 10 years ago

Deactivated UserPro and activated DWQA. Then reactivated UserPro. Both the plugins are working fine now.
Problem solved!

well wisher
replied 10 years ago

thats great news cheers !!!

Powered by DW Question & Answer Pro