Support

Home Forums Event Espresso Premium Infusionsoft does not work (Fatal Error)

Infusionsoft does not work (Fatal Error)

Posted: November 5, 2013 at 2:53 pm


Christian

November 5, 2013 at 2:53 pm

I have recently installed the infussionsoft addon and configured it as per your documentation. However now when customers got to complete their registration they are greeted with the following error:
“Fatal error: Cannot use string offset as an array in /nfs/c09/h01/mnt/127139/XXX/XXX.com/html/wp-content/plugins/espresso-infusionsoft/index.php on line 179”

This happens between the registration page and the paypal payment page.

We are running event espresso 3.1.35.2.P

Thanks for your help


Sidney Harrell

November 5, 2013 at 3:32 pm

That’s really odd, the query of infusionsoft on line 174 should either return nothing or an array. Can you put a debugging line in? Change lines 178-180 from:

}else{
		$productId = $event_products[0]['Id'];
	}

to:

}else{var_dump($event_products);
		$productId = $event_products[0]['Id'];
	}


Josh

  • Support Staff

November 5, 2013 at 3:40 pm

Hi Christian,

Sorry for the trouble. Can you check which version of PHP is installed on your server and let us know? This will help us to narrow down the issue.


Christian

November 6, 2013 at 4:52 pm

Thanks Gents! it had to do with inaccurate entry in one of the forms on my end. Works like a charm now!

The support post ‘Infusionsoft does not work (Fatal Error)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso