• Resolved Wendell

    (@wendellh)


    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

    (@tw2113)

    The BenchPresser

    Hi @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 www.remarpro.com.

    Thread Starter Wendell

    (@wendellh)

    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

    (@tw2113)

    The BenchPresser

    Something in the install is also loading a copy of the Constant Contact SDK, just a matter of tracking down what.

    Thread Starter Wendell

    (@wendellh)

    It seems to be a lovely plugin called Hustle from the folks at WPMU Dev. https://premium.wpmudev.org/project/hustle/

    I deactivated that plugin and the CC plugin seems to be working just fine.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    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.