• Resolved Mike Oliver

    (@zephyrmike)


    I am wondering if this fatal error log is familiar to you. I was testing this and when submitting a Paid Membership Pro form that is connected to Active Campaign, I am getting a fatal error. I did turn UA’s cache off, and unfortunately I don’t have a link to share right now. This is the error…

    PHP Fatal error: Uncaught TypeError: Exception::__construct(): Argument #2 ($code) must be of type int, string given in /srv/htdocs/wp-content/plugins/uncanny-automator/src/integrations/active-campaign/helpers/active-campaign-helpers.php:399

    I appreciate any help you can offer. Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @zephyrmike , thanks for reporting the issue.

    We were able to confirm that an error is possible in the current release if you try to run actions on a contact that doesn’t exist in ActiveCampaign.

    We have uploaded a fix for you here: https://we.tl/t-ij0CbZP25s. You can replace the existing version of that file on your website by FTP at this path:

    wp-content/plugins/uncanny-automator/src/integrations/active-campaign/helpers/active-campaign-helpers.php

    We’ll include the fix in the next release. It might also be a good idea to add an action to create a contact (if they don’t exist) before running any actions that update contacts.

    Let us know if you continue to have any issues after the change.

    Thread Starter Mike Oliver

    (@zephyrmike)

    Thanks, so I just figured out the fix was turning on background tasks to run, and got it working about 30 minutes ago. All the data routes to AC for new users perfectly. Everything is working good now so I’m not sure if I need to edit it as of now.

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @zephyrmike , thanks for the update! We’re a bit surprised that it fixed things, but it could mean the slight action delay is allowing time for other data to populate. We will still include the fix in the next release, as it would take care of possible error scenarios for other users, but we’ll go ahead and mark this as closed for now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error with Active Campaign’ is closed to new replies.