Fatal error conflict with Really Simple Captcha

This topic has 4 replies, 2 voices, and was last updated 10 years, 5 months ago ago by Eva Kemp

  • Avatar: mcshane
    mcshane
    Participant
    July 17, 2014 at 18:06

    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.

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 17, 2014 at 18:20

    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.

    Avatar: mcshane
    mcshane
    Participant
    July 17, 2014 at 18:31

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    July 17, 2014 at 18:54

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Fatal error conflict with Really Simple Captcha’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.