asked 10 years ago

Fatal error: Cannot redeclare class recaptcharesponse in /nas/wp/www/staging/onvaping/wp-content/plugins/dw-question-answer/inc/lib/recaptcha-php/recaptchalib.php on line 137
Just wondering why this is happening and how to fix this issue.

2 Answers
answered 10 years ago

Figured out the issue; another plugin was calling the recaptchalib.php file and so it was throwing up that error.
Fixed by commenting out line 41 of dw-question-answer.php, this isn’t the most elegant solution because it will be overwritten on plugin updates.
I would urge the developers to first check if that file has been loaded so that it won’t cause that error.

answered 10 years ago

Hello Bphippen !
I think you have resolved the issue. I appreciate it !

Powered by DW Question & Answer Pro