Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
PHP 500 server error | Event Espresso - Staging Server

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

  • Support Staff

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 - Staging Server