Support

Home Forums Event Espresso Premium PHP 500 server error

PHP 500 server error

Posted: September 23, 2013 at 3:37 pm

Viewing 1 reply thread


Hilarie Ashton

September 23, 2013 at 3:37 pm

We’re getting the following error when someone tries to register for our event:

PHP Fatal error: Cannot use string offset as an array in /var/www/sandbox.sacredgifts/wp-content/plugins/espresso-infusionsoft/index.php on line 179

We’re using the most recent version of Event Espresso (3.1.35.P) on WordPress 3.6.1. This is a new installation that did previously have the Lite version installed, but it is currently deactivated. Any help would be appreciated.


Sidney Harrell

September 23, 2013 at 4:04 pm

It looks like line 174, where it makes a call to infusionsoft’s API, is returning a string, probably an error message, instead of an array. Try changing line 175 from

if(empty($event_products)){

to

if(!is_array($event_products)){

You might want to try putting a var_dump in to see what is the string it is returning

if(!is_array($event_products)){
var_dump($event_products);
Viewing 1 reply thread

The support post ‘PHP 500 server 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