Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter benmoreassynt2

    (@benmoreassynt2)

    Hi, yes I’m on Memberpress Constant Contact version 1.1.4, running PHP 8.1, with fully updated WordPress. I’ll see if I can pass a message to them via my client’s account.

    Thread Starter benmoreassynt2

    (@benmoreassynt2)

    Hi, this is still a problem. I’ve narrowed down the problem to an interaction with the plugin MemberPress Constant Contact (memberpress-constantcontact).

    It is likely that both plugins are not required, and/or that the error lies in MemberPress’s code, however it might be worth including a check in your code to prevent MemberPress causing this error if both plugins happen to be activated.

    In particular, the memberpress-constantcontact plugin includes a version of the Ctct namespaced files, using the same namespace, and the SplClassLoader class. This is obviously going to run the risk of a clash of namespaced code and (from PHP’s perspective) an attempt to reload a class that has already been loaded.

    I haven’t been through the code to work out exactly where the problem is triggered, but since both plugins are initializing the ‘same’ autoloader for the ‘same’ classes, a clash seems inevitable.



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