Problem/Motivation

Calling infusionsoft_contact_add() throws error

Error: Call to a member function ContactService.add() on boolean in infusionsoft_contact_add()

I passed a Drupal user object while calling the function. Also I tried creating a new contact using the rules action "Add a contact" and I got the error

Notice: Trying to get property of non-object in infusionsoft_fields()

Warning: array_keys() expects parameter 1 to be array, null given in infusionsoft_fields()

Error: Call to a member function ContactService.findByEmail() on boolean in infusionsoft_contact_load_by_email()

Proposed resolution

Find and fix the problem.

Remaining tasks

N/A

User interface changes

N/A

API changes

Correct the APIs after fixing the problem.

Data model changes

N/A

Comments

subhojit777 created an issue. See original summary.

subhojit777’s picture

Status: Active » Closed (works as designed)

Sorry. I take it back. Actually the settings were incorrectly configured, I was using the wrong API key. This helped me https://eventespresso.com/wiki/infusionsoft-integration/

deggertsen’s picture

Glad you got it figured out!