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.
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
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.
Support forum for Event Espresso 3 and Event Espresso 4.