Support

Home Forums Event Espresso Premium Events Table View Template Extension not working

Events Table View Template Extension not working

Posted: September 8, 2023 at 8:56 am

Viewing 38 reply threads


linguarum

September 8, 2023 at 8:56 am

Hi! All of a sudden none of the events tables on the site are working. I have the short codes on the pages as they have been for years. Nothing has changed. But now it’s saying “buy now” for the extension? I have a full license. Should not need to buy any extensions.

Thanks.


linguarum

September 8, 2023 at 9:03 am

j


westonemanor

September 10, 2023 at 4:09 am

We are having the same issue. Can anybody advise?


Rio

  • Support Staff

September 10, 2023 at 9:53 pm

@linguarum Can you send me Screenshot of the notification? Can you also send the URL where you have the event table?

Thanks.


@westonemanor
Ok, so I checked on your site and noticed you are running version 4.10.44 of Event Espresso, is there something preventing you from updating?

That version was released Jan 31 and we’ve made a bunch of changes to the add-ons and core since then.

Can you update Event Espresso and see if the issue remains?

Thanks


linguarum

September 11, 2023 at 8:46 am

Hi Rio. One example: on the page https://www.labsafety.org/2-day-lab-safety-short-course, right under “Download Two-Day Course Schedule (PDF),” I have the shortcode:

[ESPRESSO_EVENTS_TABLE_TEMPLATE reg_button_text='Info/Register' sold_out_button_text='Unavailable' category_slug=two-day-lab-safety-short-course table_search=false category_filter=false]

This code produces no output on the screen.

I am updated to EE 5.0.10.p. I have tried deleting the Events Table View plugin and re-installing it. The problem remains.

I do not see the notification asking me to “buy the plugin now” anymore. Maybe I was mistaken about that.

But the plugin shortcode is clearly not producing any output on any page on the site. It worked just fine until last week. This is critical to our business – I do hope it is resolved soon.


Garth

  • Support Staff

September 11, 2023 at 11:14 am

A couple questions:

– How many events do you have published in that category?
– Do you have other pages using the table template that are displaying correctly?


linguarum

September 11, 2023 at 11:47 am

Thanks Garth.
– How many events do you have published in that category?
There are currently five future events in the “two-day-lab-safety-short-course” category. (There are many others in the past, but all expired.)

– Do you have other pages using the table template that are displaying correctly?
No. The table template is used on several pages throughout the site, but they are all not displaying. The two-day page was just one example. Another is on the home page of labsafety.org. There should be a table displayed under “Upcoming Courses”.

Thanks,
Connor


Garth

  • Support Staff

September 11, 2023 at 12:04 pm

Can you test removing individual parameters within the shortcode one-by-one and see if that helps?


Garth

  • Support Staff

September 11, 2023 at 12:04 pm

This reply has been marked as private.


linguarum

September 11, 2023 at 12:34 pm

I removed all parameters. Even the simple shortcode [ESPRESSO_EVENTS_TABLE_TEMPLATE] by itself does not produce any output. See: https://www.labsafety.org/2-day-lab-safety-short-course.


Garth

  • Support Staff

September 11, 2023 at 12:51 pm

Are there any errors logged?


linguarum

September 11, 2023 at 1:23 pm

Nothing in debug.log. Also I just noticed [ESPRESSO_EVENTS] shortcode produces nothing.

Thank you.


linguarum

September 11, 2023 at 1:24 pm

Calendar is working, though.


Garth

  • Support Staff

September 11, 2023 at 1:36 pm

Do you have any Event Espresso template customizations?

What about caching?


linguarum

September 11, 2023 at 1:47 pm

No customizations that I know of – like I said, Event Espresso has been working fine for 6 years until last Friday. I’m certain it was not something I did because I was gone last week.

How would I check about caching?


Garth

  • Support Staff

September 11, 2023 at 1:54 pm

What changed last week?


linguarum

September 11, 2023 at 1:59 pm

The Events Tables stopped displaying all of a sudden. (See original post.)


Garth

  • Support Staff

September 11, 2023 at 2:03 pm

Right but, that’s not what changed, that’s a symptom of something else changing. Things don’t just stop working for no reason.


linguarum

September 11, 2023 at 2:22 pm

I do not know what changed last week – like I said, I was gone, and I’m the only one who works on the site. I contacted support hoping you can help us determine the cause of the problem.


Tony

  • Support Staff

September 11, 2023 at 3:42 pm

Hi Connor,

Above your stating that nothing has changed, but then your using the latest version of Event Espresso (released Monday 4th September) so there are changes on the site, even updates to Event Espresso are still changes.

We haven’t pushed an update for the table view add-on for a while, so that hasn’t changed on our end and unless you’ve changed the templates on your end that should be the same on yours.

But did this happen before you updated Event Espresso or did this happen FROM updating Event Espresso?

For the output to just randomly disappear, ‘something’ has changed here. I can’t reproduce this on any of my test sites, so right now I’m guessing it is a conflict with either Divi (has Divi recently pushed an update that you have applied on the site?) or something outside of Event Espresso (which makes this more difficult to troubleshoot.

Have you ever created custom templates for the table view add-on?

Any espresso-events-table-template.template.php file (or something similar) within the root directory or your theme?


linguarum

September 11, 2023 at 4:49 pm

Thanks Tony. I have enabled auto-updates for Event Espresso, so the EE update could have happened while I was gone. Is there any way to roll back to the previous version to see if that’s it? To my knowledge, I’ve never created custom templates and I don’t see anything in the root directory. Divi is not set to update automatically, although I did update it manually just today as part of troubleshooting. Thank you for your continued help with this issue.


Tony

  • Support Staff

September 11, 2023 at 5:12 pm

If you have auto updates enabled you would have been on 5.0.9, correct?

5.0.8.p was released Aug 7th.

5.0.9.p on Aug 15th

I can send you a version to manually install over 5.0.10.p and see if it makes a difference, which version would you like to try?


linguarum

September 11, 2023 at 5:27 pm

This reply has been marked as private.


linguarum

September 11, 2023 at 5:33 pm

If the contents of debug.log from my private reply do not help, I would like to try rolling back to 5.0.8.p.


Tony

  • Support Staff

September 12, 2023 at 5:58 am

Hmmm, strange.

Before you roll back can I take a look at the site? I’ll need to add some debug code to the site to figure out what is going on within the request so would need both WP Admin and FTP access, if that’s ok you can send those using this form:

https://eventespresso.com/send-login-details/


linguarum

September 12, 2023 at 7:58 am

Sent.


Cforce

September 12, 2023 at 12:14 pm

Hi there,

I am reading this thoroughly and have the same issue..

The only working shortcode is [ESPRESSO_CALENDAR]


Tony

  • Support Staff

September 12, 2023 at 2:30 pm

Ok, so I’ve been investigating this directly on the site and I’m fairly certain this isn’t from an Event Espresso change, certainly not a recent change.

I reverted your site back to version 5.0.7 which was released May 30 2023 and the issue still remains on your site.

I dumped the WP_Query object right before the query is run and checked the filters, EE’s filters are being added to the posts_fields filter as expected but apparently, those are either being ignored or overwritten somewhere when the query is actually run.

The only way I can ‘fix’ those outputs right now is to remove the order_by from the query but that’s not a proper fix and also means the events display order by ID not date.

To explain a little on what is happening, Event Espresso hooks into WP_Query and sets the post fields to include the Datetime field(s) in the query, it uses something like this:

wp_posts.*, MIN( wp_esp_datetime.DTT_EVT_start ) as event_start_date

Which is basically saying, “grab everything from the wp_posts table and use the MINIMUM related value found in wp_esp_datetime.DTT_EVT_start as the ‘event_start_date’ value”.

Later on the query we also set ORDER BY event_start_date ASC

This is then saying order the results based on the event_start_date value we set earlier in ASCENDING order. The problem is the first part of the above is missing so ‘event_start_date’ isn’t set in the query so then SQL doesn’t know what that order by means as it doesn’t know what event_start_date is.

If this only happened recently, something else must have changed on the site and is conflicting here.

Some other updates run?

Do you have a staging copy of the site I can deactivate the currently plugins on and see if the shortcodes work then?


QRC

September 12, 2023 at 3:21 pm

I can confirm the shortcode [ESPRESSO_EVENTS] produces nothing on the front-end anymore.

Example here:nzambassador.com/test

There is no other content on the page, and it displays nothing even when all plugins are disabled except for EE.


Tony

  • Support Staff

September 12, 2023 at 3:28 pm

When you tested with no other plugins, did you still use Divi or a default theme?


linguarum

September 12, 2023 at 3:40 pm

Are you asking QRC? I always use Divi..


linguarum

September 12, 2023 at 3:42 pm

I do not have a staging copy of the site. But feel free to do whatever is necessary. We need this fixed as soon as possible, and I have the site backed up, and it’s past business hours for most of our customers.


Tony

  • Support Staff

September 12, 2023 at 3:55 pm

Are you asking QRC? I always use Divi..

QRC as they stated they confirmed this issue with all plugins deactivated, but it still using Divi then its likely a conflict with their changes.

I checked Divi’s changelog: https://divinotes.com/divi-changelog/

You are both using 4.22.1 which was released 08-18-2023, it could be a conflict with changes from that version, or even the one prior.

Currently, I cant reproduce this on my test sites so its more likely to be an issue with the plugins/code/theme running on the site as it stands but until I can reproduce its hard to say.


linguarum

September 12, 2023 at 4:00 pm

Do you want to roll back the version of Divi? https://diviengine.com/how-to-rollback-to-a-previous-divi-version/

I would do it, but I don’t want to interfere with what you might be doing on the site right now..


QRC

September 13, 2023 at 2:58 pm

Hi All,

I’ve just tested

– using the default Twenty TwentyThree theme
– with all plugins deactivated except EE 5.0.10.p and Event Espresso – Payment Methods Pro (EE 4.9.32+)

and can confirm that still nothing displays on a page with the basic shortcode [ESPRESSO_EVENTS].

It seems neither Divi nor other plugins are the issue.

Any thoughts guys?


QRC

September 13, 2023 at 2:59 pm

Not sure if it helps or is relevant but Console shows:
“Failed to decode downloaded font: https://nzambassador.com/wp-content/plugins/event-espresso-core-reg/core/templates/global_assets/fonts/ee-dashicons.ttf”


Tony

  • Support Staff

September 14, 2023 at 1:37 pm

OK, so I managed to get access to another site with this issue and cloned it locally.

It looks like the issue here is Object Caching.


@linguarum
and @QRC

Can you try disabling Object Caching on your site and see the above pages then work?


QRC

September 14, 2023 at 1:48 pm

That was it Tony!

Nice work – disabling Object Caching solved the issue for me and the Table is now displaying correctly from the shortcode.

Thanks very much for your help.


linguarum

September 14, 2023 at 5:42 pm

That did it! Thank you Tony! Saved the day!

Viewing 38 reply threads

The support post ‘Events Table View Template Extension not working’ 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