• Resolved Meg

    (@megortel)


    Hi, I’ve discovered that the WordPress plugin “Donation Button” does not play nicely with “Constant Contact Forms for WordPress”. However, I can’t quite figure out why. Can you please help troubleshoot this? If we need to look for a different plugin tool to be able to accept PayPal donations on our website, then I need to know what we should avoid. (Or perhaps you have a recommendation for a different tool for PayPal donations?) Thanks in advance.

    Fatal error: Uncaught Error: Cannot access protected property Ctct\ConstantContact::$listService in /home/kenyacon/public_html/wp-content/plugins/constant-contact-forms/includes/class-api.php:204 Stack trace: #0 /home/kenyacon/public_html/wp-content/plugins/constant-contact-forms/includes/class-lists.php(788): ConstantContact_API->get_lists(false) #1 /home/kenyacon/public_html/wp-content/plugins/constant-contact-forms/includes/class-builder.php(88): ConstantContact_Lists->get_lists() #2 /home/kenyacon/public_html/wp-content/plugins/constant-contact-forms/includes/class-builder-fields.php(100): ConstantContact_Builder->get_lists() #3 /home/kenyacon/public_html/wp-includes/class-wp-hook.php(286): ConstantContact_Builder_Fields->constant_contact_list_metabox(”) #4 /home/kenyacon/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /home/kenyacon/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/kenyacon/public_html/wp-content/plugins/constant-contact-forms/vendor/C in /home/kenyacon/public_html/wp-content/plugins/constant-contact-forms/includes/class-api.php on line 204

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Constant Contact

    (@constantcontact)

    Is this “Donation Button” a free plugin available here from www.ads-software.com? or is it a premium plugin from somewhere?

    Asking so we can see if we can download and try to recreate this situation above.

    Thanks.

    Thread Starter Meg

    (@megortel)

    Plugin Author Constant Contact

    (@constantcontact)

    Awesome.

    Let us have a little bit of time to investigate and see what we can come up with. If you don’t hear back sometime tomorrow, by all means feel free to nudge us about an update.

    Thread Starter Meg

    (@megortel)

    Thanks for looking into this, I appreciate your time. I will be away from my desk for the long weekend, but will look forward to hearing from you when you’re able. Cheers!

    Plugin Author Constant Contact

    (@constantcontact)

    Wanted to chime in quick and say that we haven’t forgotten this, but we also have not quite gotten around to it either.

    Plugin Author Constant Contact

    (@constantcontact)

    Looking at things closer, it appears that the Donation plugin is including an older version for our PHP SDK to use to connect to Constant Contact. Specifically a version from before version 2.0.0. This is where the error is coming in. In previous versions a part of the code, listService, was marked as “protected”. In version 2.0.0 and onward, we made that “public”. The issue is coming from the fact that this older version is what is ultimately trying to be used, even from our plugin. Probably contributed, in part, to load order.

    Ideally, the Donations plugin would upgrade their version of the SDK, but we can’t force that by any means. I also wish they had a way to only run their copy when their Constant Contact integration is enabled, instead of running it regardless of that status, like it seems to be the case now.

    Regarding the possibilities of alternatives, since you threw out the idea that you’d consider it, what other plugins have you tried?

    Perhaps check out https://www.ads-software.com/plugins/give/ as it looks like they have a Paypal gateway out of the box.

    Thread Starter Meg

    (@megortel)

    Thank you for troubleshooting this. Hmm, that’s a bummer. I will take a look at the other plugin you’ve suggested, and will reply here again for closure on the topic. I’ll also shoot a quick message over to the developers of the Donation plugin, just in case they’re interested in addressing the problem, to avoid future users running into the same issue I did.

    Thanks again, I’ll post again by end of the week.

    Meg

    Plugin Author Constant Contact

    (@constantcontact)

    Sounds good, thanks Meg.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Donation Button + Constant Contact Form = fatal error’ is closed to new replies.