Title: PHP Fatal Error: Cannot declare class Ctct\CTCTSplClassLoader
Last modified: March 20, 2017

---

# PHP Fatal Error: Cannot declare class Ctct\CTCTSplClassLoader

 *  Resolved [Wendell](https://wordpress.org/support/users/wendellh/)
 * (@wendellh)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-cannot-declare-class-ctctctctsplclassloader/)
 * PHP Fatal error: Cannot declare class Ctct\CTCTSplClassLoader, because the name
   is already in use in /home/username/public_html/wp-content/plugins/constant-contact-
   forms/vendor/constantcontact/constantcontact/constantcontact/src/Ctct/SplClassLoader.
   php on line 22
 * This is causing a 500 error when we attempt to access wp-admin, so we are unable
   to access the WP Dashboard.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-cannot-declare-class-ctctctctsplclassloader/#post-8935961)
 * Hi [@wendellh](https://wordpress.org/support/users/wendellh/)
 * What other Constant Contact plugin/integration are you using, if you know?
 * In version 1.2.2, we made a change to a couple things, renaming a bundled class
   of “SplClassLoader” to “CTCTSplClassLoader” but from the looks of what you have,
   that’s causing a different name collision. Would love the chance to check out
   the code from that plugin, especially if it’s one available on wordpress.org.
 *  Thread Starter [Wendell](https://wordpress.org/support/users/wendellh/)
 * (@wendellh)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-cannot-declare-class-ctctctctsplclassloader/#post-8936023)
 * I suspected that it might be a conflict with MailMunch — so I deactivated MailMunch
   by renaming the plugin folder. That didn’t change anything. When I rename the
   Constant Contact plugin by renaming the folder, everything works great.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-cannot-declare-class-ctctctctsplclassloader/#post-8936039)
 * Something in the install is also loading a copy of the Constant Contact SDK, 
   just a matter of tracking down what.
 *  Thread Starter [Wendell](https://wordpress.org/support/users/wendellh/)
 * (@wendellh)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-cannot-declare-class-ctctctctsplclassloader/#post-8936095)
 * It seems to be a lovely plugin called Hustle from the folks at WPMU Dev. [https://premium.wpmudev.org/project/hustle/](https://premium.wpmudev.org/project/hustle/)
 * I deactivated that plugin and the CC plugin seems to be working just fine.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-cannot-declare-class-ctctctctsplclassloader/#post-8937047)
 * Yeah, I can definitely see that one providing a conflict here. My biggest question
   is going to end up being if you were hoping to use both, or if you were planning
   to migrate away from Hustle to Constant Contact Forms. If you were hoping to 
   use both, then we’ll need to come up with a workaround to get both active at 
   once.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP Fatal Error: Cannot declare class Ctct\CTCTSplClassLoader’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-cannot-declare-class-ctctctctsplclassloader/#post-8937047)
 * Status: resolved