I'm trying to use this with the Webform module and when I go to the Infusionsoft tab within the Webform node I get the following error:

PHP Fatal error: Call to undefined function infusionsoft_test_get_groups() in infusionsoft/infusionsoft_webform/infusionsoft_webform.module on line 61

Line 61 is:

// Groups (tags) to add contact to.
$group_options = infusionsoft_test_get_groups();

Comments

rkeppner’s picture

Yes, that definitely looks like a problem. I'll look into that right now and see what I can come up with.

rkeppner’s picture

Assigned: Unassigned » rkeppner
Priority: Normal » Major
rkeppner’s picture

Oops. I guess that's why I haven't created anything beyond a dev release yet.

The function in question used to exist in a separate test module, which I later deleted. Unfortunately, it contained needed functionality.

I just added the functions back to the module, tested to make sure that it worked in its current version, and committed the changes in git. A new dev release should show up in the next few hours, when the packaging script gets around to it.

If you need it quicker than that, see my previous comment for a different issue.

rkeppner’s picture

Status: Active » Fixed
intrafusion’s picture

Status: Fixed » Active

Thanks for your prompt attention for this issue and your fix appears to work, I still need to implement the final set-up but at least the page displays.

The only minor issue is I get the following error at the top of the page:

Notice: Undefined offset: 0 in infusionsoft_get_groups() (line 537 of infusionsoft/infusionsoft.module).

rkeppner’s picture

Looking at the code (but without being able to check the setup on your side), that is likely caused when there are no groups (legacy follow-up sequences) in your Infusionsoft app.

I have added code to check for that, so I'm hoping you won't see that notice again. I also put code in to notify you if the module is not configured with your Infusionsoft app information.

rkeppner’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.