I’m trying to add a simple events list table to my homepage, but when I add even the simplist of shortcodes [ESPRESSO_EVENTS_TABLE_TEMPLATE] the home page messes up and gives me a critical error msg.
We’ll need the error being thrown on that request to see what is going on. Your host will usually have a section within your control panel to view errors, can you check there and see what is being thrown when you load that page?
Or, if you add this to your sites wp-config.php file:
Ok, so its from the custom espresso-events-table-template.template.php you have in wp-content/uploads/espresso/templates/
On line 77 you likely have something like $category_slugs = '';
If so, change that to $category_slugs = array();
We fixed that template in the add-on itself a while ago but looks like you have an older version in your uploads folder.
Viewing 4 reply threads
The support post ‘EE Table View Template creates a critical error in WP’ 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.