This topic has 4 replies, 2 voices, and was last updated 10 years, 4 months ago ago by Eva Kemp
Hello.
I tried installing Really Simple Captcha (to use with Contact Form 7) and when activating it, I get a “fatal error: cannot redeclare class.”
Fatal error: Cannot redeclare class ReallySimpleCaptcha in /home/content/p3nexnas06_data02/24/2145124/html/wp-content/plugins/really-simple-captcha/really-simple-captcha.php on line 30
I consulted with the RSC developer, and he advised to activate the default theme and deactivate all other plugins. So, I narrowed down the conflict to the Blanco theme. When I tried reactivating all plugins back up, and Blanco theme at the end, I also get the same cannot redeclare class error back (line 27, this time).
Any ideas how I can fix this so I can use Contact Form 7 and RSC with Blanco?
WP admin credentials provided in this previous topic: https://www.8theme.com/topic/help-customizing-header-and-logo/
Thanks!
Maria M.
Hello,
That error means ReallySimpleCaptcha class has already been declared and you can’t declare it twice. I’ve fixed it in this way: Under Plugins menu clicked “Edit” for Really Simple Captcha plugin and changed the line 30 “class ReallySimpleCaptcha” to “class ReallySimpCaptcha”. So just renamed it. After that the plugin has been activated successfully.
Please check.
Regards,
Eva Kemp.
Hi.
That’s weird. I always use this plugin with a lot of themes and have never encountered this error. It looks like it’s working now. Thanks so much!
Maria
Hello,
You’re welcome.
Regards,
Eva Kemp.
Tagged: conflict, fatal error, really simple captcha, template, woocommerce, wordpress
The issue related to '‘Fatal error conflict with Really Simple Captcha’' has been successfully resolved, and the topic is now closed for further responses