Posted: February 11, 2019 at 1:26 pm
|
Hello, The company website that I manage has begun generating errors today on any pages that containing an event table template. Here is a sample of the shortcake we have been using without issue for several years… [ESPRESSO_EVENTS_TABLE_TEMPLATE template_file = espresso-events-table-template-toggle.template.php table_style=”metro” category_slug=camp category_filter=false order_by=start_date table_search=false table_pages=10] Thanks for your help…! |
|
sigh… so “shortcake” is intended to be “shortcode”… |
Hi, We received your request for priority support. The error message actually indicates the cause is some out-of-date custom code in the child theme. We can take a look at updating that code. |
|
|
Is this what you need below? This is from the espresso-events-table-template-toggle.template.php file that I see in the theme file editor. (I do not recall exactly what was altered in this file, I think I got this code from you guys to resolve an issue with the theme template…): *redacted*
|
Hi, I did not need that because you did send access to the site 🙂 The coding errors were fixed so you’re good to go now. The reason the coding errors were OK before is because PHP 5 was more loosey-goosey compared to PHP 7. So quite likely your site was updated to PHP 7 (a good thing) but as part of that upgrade any non-compatible with PHP 7 code needs to be updated. |
|
|
Thank you sooooooo much, you guys rock! Just for my knowledge, will you let me know which part of the code needed to be updated? |
There was a variable initialized as a string (e.g. |
|
|
Excellent, thanks for the explanation and thank you for rescuing us today : ) |
The support post ‘Event table template causing browser display errors’ 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.