Posted: 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. |
|
j |
|
We are having the same issue. Can anybody advise? |
|
@linguarum Can you send me Screenshot of the notification? Can you also send the URL where you have the event table? Thanks.
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 |
|
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:
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. |
|
September 11, 2023 at 11:14 am A couple questions: – How many events do you have published in that category? |
|
September 11, 2023 at 11:47 am Thanks Garth. – Do you have other pages using the table template that are displaying correctly? Thanks, |
|
September 11, 2023 at 12:04 pm Can you test removing individual parameters within the shortcode one-by-one and see if that helps? |
|
This reply has been marked as private. | |
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. |
|
September 11, 2023 at 12:51 pm Are there any errors logged? |
|
Nothing in debug.log. Also I just noticed [ESPRESSO_EVENTS] shortcode produces nothing. Thank you. |
|
Calendar is working, though. |
|
Do you have any Event Espresso template customizations? What about caching? |
|
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? |
|
What changed last week? |
|
The Events Tables stopped displaying all of a sudden. (See original post.) |
|
Right but, that’s not what changed, that’s a symptom of something else changing. Things don’t just stop working for no reason. |
|
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. |
|
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 |
|
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. |
|
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? |
|
This reply has been marked as private. | |
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. |
|
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: |
|
Sent. |
|
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] |
|
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 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:
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 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? |
|
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. |
|
When you tested with no other plugins, did you still use Divi or a default theme? |
|
Are you asking QRC? I always use Divi.. |
|
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. |
|
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. |
|
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.. |
|
Hi All, I’ve just tested – using the default Twenty TwentyThree theme 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? |
|
Not sure if it helps or is relevant but Console shows: |
|
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.
Can you try disabling Object Caching on your site and see the above pages then work? |
|
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. |
|
That did it! Thank you Tony! Saved the day! |
|
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.