Title: fatal error when activating plugin
Last modified: April 27, 2017

---

# fatal error when activating plugin

 *  Resolved [ewmedia](https://wordpress.org/support/users/ewmedia/)
 * (@ewmedia)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/)
 * Fatal error: Cannot redeclare class Ctct\SplClassLoader in /var/www/…/wp-content/
   plugins/constant-contact-forms/vendor/constantcontact/constantcontact/constantcontact/
   src/Ctct/SplClassLoader.php on line 23
 * Tried to activate Constant Contact plugin on a WordPress 4.7.4, Genesis, Outreach-
   Pro theme website and when I hit ‘activate’ I got the above error message. I 
   was not able to view the site from the front-end and could not get into my administrative
   area either. The only solution was to go to the back-end, via FTP, and delete
   the plugin from the system. I was then able to access the front and back ends.
   Please advise – thank you!

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/page/2/?output_format=md)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9075804)
 * Good day [@ewmedia](https://wordpress.org/support/users/ewmedia/)
 * What version of Constant Contact Forms are you presently using? My initial hunch
   is something below version 1.2.2. We addressed an issue with that error you’re
   seeing in that release. The latest versions should be loading a class named `
   Ctct\CTCTSplClassLoader` which we did to avoid conflicts like this with other
   applications using the same SDK library.
 * If I’m accurate above, please upload to the latest version and try again. Thanks.
 *  [kmplayhouse](https://wordpress.org/support/users/kmplayhouse/)
 * (@kmplayhouse)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9080452)
 * Hello [@tw2113](https://wordpress.org/support/users/tw2113/)
 * I’m the end user for the situation [@ewmedia](https://wordpress.org/support/users/ewmedia/)
   is describing. The plugin was the latest version, 1.2.5
 * Back to the drawing board.
    -  This reply was modified 9 years, 1 month ago by [kmplayhouse](https://wordpress.org/support/users/kmplayhouse/).
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9080557)
 * At this point, something else in your install must have renamed the same class
   to the same name we did. Potentially for the same reasons: avoiding conflicts.
 * Do you know what other plugins you have that may have Constant Contact integration?
 *  Thread Starter [ewmedia](https://wordpress.org/support/users/ewmedia/)
 * (@ewmedia)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9081355)
 * Michael,
 * I am using php version 5.4.35 and the plugin version is 1.2.5
 * I already communicated this information a couple of days ago and you have not
   responded – so what’s up?
 *  Thread Starter [ewmedia](https://wordpress.org/support/users/ewmedia/)
 * (@ewmedia)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9081388)
 * One email signup plugin was already removed for potential conflicts. I have no
   idea what other plugins might have a conflict with the Constant Contact plugin.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9082446)
 * As you can see earlier in this thread, I did respond 🙂
 * Good to know on the PHP version and the plugin version, but it sounds like something
   in the install has a matching class name. It may or may not be a Constant Contact
   based plugin, as “CTCT” could mean a number of things. That said, without knowing
   what plugins you have installed, or even what theme you’re using, I have no way
   of helping determine what the source of the conflict is. The matching class name
   could be coming from any of those areas.
 *  [kmplayhouse](https://wordpress.org/support/users/kmplayhouse/)
 * (@kmplayhouse)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9082547)
 * I think his first post mentioned Genisis Outreach Pro theme.
 * The installed plugins are // Akismet Anti-Spam // All-in-One Event Calendar by
   Time.ly // API KEY for Google Maps // Author RSS Feed // Genesis eNews Extended//
   Genesis Responsive Slider // Google XML Sitemaps // Hustle // Jetpack by WordPress.
   com // Open external links in a new window (problem prior to this) // Podamibe
   Custom User Gravatar // Reveal IDs // Simple Social Icons // WP Google Search.
 *  Thread Starter [ewmedia](https://wordpress.org/support/users/ewmedia/)
 * (@ewmedia)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9083268)
 * I apologize for the ‘no response’ comment. I did not realize that this was an
   online system and when I received your initial email I responded by return email,
   not realizing that you had already responded online. The WP Google Search was
   actually installed since the problem with the Constant Contact plugin. The other
   plugins were all installed prior to the Constant Contact problem. I will keep
   posted online. Thanks!
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9083858)
 * Looks like Hustle is probably the other plugin providing Constant Contact integration.
 * However, that’s still left me confused as to why the error is showing up, especially
   if you’re on version 1.2.5.
 * Here’s the file in question from the first post:
    [https://plugins.trac.wordpress.org/browser/constant-contact-forms/tags/1.2.5/vendor/constantcontact/constantcontact/constantcontact/src/Ctct/SplClassLoader.php](https://plugins.trac.wordpress.org/browser/constant-contact-forms/tags/1.2.5/vendor/constantcontact/constantcontact/constantcontact/src/Ctct/SplClassLoader.php)
 * You’ll notice that we don’t have the class named the same, and also curiously
   it’s on line 22, not 23
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9083867)
 * No worries on the “No response” part, btw. It’s all good.
 *  Plugin Author [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * (@constantcontact)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9087559)
 * Any new information on this one?
 *  Thread Starter [ewmedia](https://wordpress.org/support/users/ewmedia/)
 * (@ewmedia)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9094411)
 * Just checking back with you – anything new to report?
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9095520)
 * [@ewmedia](https://wordpress.org/support/users/ewmedia/) only what I posted above
   at [https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9083858](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9083858)
 *  Thread Starter [ewmedia](https://wordpress.org/support/users/ewmedia/)
 * (@ewmedia)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9115296)
 * it is in all caps [CTCT] and the error says Ctct [first C as cap]
 *  Thread Starter [ewmedia](https://wordpress.org/support/users/ewmedia/)
 * (@ewmedia)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/#post-9115300)
 * so what’s up? it has been a while since you responded!

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/page/2/?output_format=md)

The topic ‘fatal error when activating plugin’ is closed to new replies.

 * ![](https://ps.w.org/constant-contact-forms/assets/icon-256x256.png?rev=2951825)
 * [Constant Contact Forms](https://wordpress.org/plugins/constant-contact-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/constant-contact-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/constant-contact-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/constant-contact-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/constant-contact-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/constant-contact-forms/reviews/)

 * 22 replies
 * 4 participants
 * Last reply from: [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-35/page/2/#post-9184995)
 * Status: resolved