Closed (fixed)
Project:
Infusionsoft API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
11 Nov 2013 at 18:28 UTC
Updated:
26 Nov 2013 at 15:43 UTC
Jump to comment: Most recent
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
Comment #1
rkeppner commentedYes, that definitely looks like a problem. I'll look into that right now and see what I can come up with.
Comment #2
rkeppner commentedComment #3
rkeppner commentedOops. 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.
Comment #4
rkeppner commentedComment #5
intrafusionThanks 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).Comment #6
rkeppner commentedLooking 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.
Comment #7
rkeppner commented