Support

Home Forums Event Espresso Premium PHP 7.2 Update Breaks Table Template

PHP 7.2 Update Breaks Table Template

Posted: March 5, 2019 at 10:27 am


Miller Howard

March 5, 2019 at 10:27 am

My server is being upgraded to PHP 7.2 and I noticed that it breaks the table view template shortcode. As far as I can tell, we are running current versions of the core plugin and all extensions. I have a grace period to drop back down to PHP 5.6, but I need to have a solution in place before March 24th.


Tony

  • Support Staff

March 5, 2019 at 10:41 am

Hi there,

When you say it breaks, what happens? Do you get an error on the page?

If you look in your themes root directory, do you have a custom template for the table view? Usually named espresso-events-table-template.template.php.


Josh

  • Support Staff

March 5, 2019 at 10:44 am

Hi Miller,

The current version of the table template is compatible with PHP 7.2. If your table view template shortcode breaks with PHP 7.2 that means either:
1) You need to update the table template plugin to the current version
of
2) You need to update any custom template PHP code so its compatible with PHP 7.2. For example, if someone copied an original template into the site’s theme, then modifications to it, then the modified template needs to be brought up to compatibility to PHP 7. Can you check to see if there’s a custom template loading from the theme?


Miller Howard

March 6, 2019 at 6:27 am

The page will load up to where the shortcode is placed, but the events content and anything that’s located afterward in the code does not load. No error message is given – the content just doesn’t show up. No espresso-events-files.php in the theme root.

Here’s a screenshot of our Event Espresso plugins:

EE Plugins


Tony

  • Support Staff

March 6, 2019 at 6:33 am

Sounds like your getting a fatal error and your server it set to not display errors (which is correct for a live site).

If you check the server’s error logs (your host will usually have this in your control panel) does it show an error there?

Also check in wp-content/uploads/espresso/templates/ for any template files there.

The support post ‘PHP 7.2 Update Breaks Table Template’ 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