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


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!

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