Skip to content
This repository was archived by the owner on Dec 16, 2021. It is now read-only.
This repository was archived by the owner on Dec 16, 2021. It is now read-only.

addOrUpdateContact.php #107

@andyleach

Description

@andyleach

I'm attempting to use the addOrUpdateContact example you guy have, and it is throwing a catchable error:

Catchable fatal error: Argument 1 passed to Ctct\Components\Contacts\Contact::create() must be of the type array, object given, called in /home/saveinju/public_html/wp-content/themes/childress-new/functions.php on line 642 and defined in /home/saveinju/public_html/wp-content/themes/childress-new/vendor/constantcontact/constantcontact/src/Ctct/Components/Contacts/Contact.php on line 147

It works fine when I try add a new user, but when one already exists, it starts throwing errors like the one above. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions