Support

Home Forums Event Espresso Premium Getting "There are no upcoming dates for this event." error

Getting "There are no upcoming dates for this event." error

Posted: March 15, 2024 at 2:12 pm


zcsiteadmin

March 15, 2024 at 2:12 pm

Hello,

I noticed on my site today that my front page grid of upcoming events has the error: “There are no upcoming dates for this event.” However a different page on the site, which refers to the same code (not the same file – I use a child theme, but the main page refers to the parent theme), works fine.
The title and link to the registration page works fine on both, but the date seems to go missing on my main page.
I’ve had to comment out the referral in the meantime to eliminate confusion, but it’s much more convenient for our visitors to have the grid.
I have no idea what could be a variable that would make it work in one place and not the other.

Monday, users received a “critical error” message on the site. I made tweaks and cleared the cache to make it go away.

In both cases, I had not earlier been touching any of the code. Has there been some update rolled out in the past week or so?


Rio

  • Support Staff

March 16, 2024 at 1:03 am

This reply has been marked as private.


zcsiteadmin

March 18, 2024 at 7:09 am

This reply has been marked as private.


Tony

  • Support Staff

March 18, 2024 at 7:17 am

Hi there,

Before you replace the current version, can you link me to the page in question so I can take a quick look?

You mentioned the front page but I can’t see this on the front page so just trying to confirm the issue first.


zcsiteadmin

March 18, 2024 at 7:24 am

This reply has been marked as private.


Tony

  • Support Staff

March 18, 2024 at 7:30 am

Ah, ok, thats not the grid template Rio is referring to.

The issue is likely the same for both in that the EE_Event object isn’t available.

Can you share the code used for that output?

Reverting to 5.0.17.p should fix it and yes, install it as any other plugin.

Dashboard -> Plugins -> Add new -> Upload plugin.

Select the .zip, WordPress should tell you there is a version already installed and ask if you want to replace it, do so.


zcsiteadmin

March 18, 2024 at 7:32 am

Sure, how should I share it – file upload or just drop in the code in a reply?


Tony

  • Support Staff

March 18, 2024 at 7:44 am

You can send it to support@eventespresso.com and I’ll check.

Or use something like PasteBin and post the URL here.

The forum aren’t great with code formatting so I wouldn’t post directly here.


zcsiteadmin

March 18, 2024 at 8:03 am

Downgraded the plugin and the grid is working again. Thanks!


Tony

  • Support Staff

March 18, 2024 at 8:08 am

Awesome, thank you for confirming (and sending your code).

We’ll get this fixed up in the next update.

The support post ‘Getting "There are no upcoming dates for this event." error’ 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