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