Support

Home Forums Event Espresso Premium Infusionsoft add-on doesn't save contact data

Infusionsoft add-on doesn't save contact data

Posted: June 11, 2014 at 8:13 am

Viewing 2 reply threads


internetmotors

June 11, 2014 at 8:13 am

Hello,
we have a problem with Event Espresso and Infusionsoft add-on.

Just like the problems described in these posts:

https://eventespresso.com/topic/infusionsoft-errors/
https://eventespresso.com/topic/integration-with-infusionsoft/

contact data doesn’t get saved nor sent to infusionsoft, and all we get is a 500 error page, with a logged error:

FATAL ERROR: Cannot use string offset as an array in …/wordpress/wp-content/plugins/espresso-infusionsoft/index.php on line 198

We have the latest versions of WordPress and plugins.

Could someone help us or give a hint on this?

Thank you


Josh

  • Support Staff

June 11, 2014 at 3:28 pm

Hi Marco,

Usually if it’s a string being returned that means the call to the infusionsoft API is returning an error message. You can find out what the error message is by adding one line of debugging code before line 198 of index.php. Here’s the code in context:

if(empty($event_products)){
		//if no such product already exists in infusionsoft, add one
		$productId = $ee_infusionsoft->dsAdd('Product',$event_product_data);
	}else{
		var_dump($event_products);
		$productId = $event_products[0]['Id'];
	}


internetmotors

June 12, 2014 at 6:24 am

Thank you
I had to install php5-curl
Best regards

Viewing 2 reply threads

The support post ‘Infusionsoft add-on doesn't save contact data’ 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