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
custom files / shortcode / event-list.php ERROR | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium custom files / shortcode / event-list.php ERROR

custom files / shortcode / event-list.php ERROR

Posted: November 13, 2012 at 12:10 pm

Viewing 1 reply thread


Stefan Hansen

November 13, 2012 at 12:10 pm

Hi,

I’ve uploaded the 3 custom php files to /uploads/espresso and placed the additional template files in the template folder within.

When trying to use ‘echo do_shortcode(‘[EVENT_DATE_MAX_DAYS max_days=”100″]’);’ on my event page, I get the following error:

Warning: extract() [function.extract]: First argument should be an array in /home/fresksit/public_html/dmsc2012/wp-content/plugins/event-espresso/templates/event_list.php on line 70

Warning: Division by zero in /home/fresksit/public_html/dmsc2012/wp-content/plugins/event-espresso/templates/event_list.php on line 155

Warning: Invalid argument supplied for foreach() in /home/fresksit/public_html/dmsc2012/wp-content/plugins/event-espresso/templates/event_list.php on line 167
No events available…


Any ideas what might be causing this? I just updated EE to the latest version this morning.

Thanks!
Stefan


Stefan Hansen

November 13, 2012 at 12:20 pm

Got this figured out.

Renamed the templates folder through the option under Template settings (which still didn’t do the trick), but then renamed the folder back to just “templates” – voila!

Viewing 1 reply thread

The support post ‘custom files / shortcode / event-list.php 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