Support

Home Forums Event Espresso Premium shortcode displaying wrong data

shortcode displaying wrong data

Posted: October 7, 2024 at 9:22 am

Viewing 5 reply threads


pickwicksplum

October 7, 2024 at 9:22 am

Hi there,
We’re seeing a duplication of the August month vs seeing what the shortcode is set to. https://prnt.sc/w47ny5OAB6ju

https://hoffmanarts.org/hoffman-gallery/

If you visit the page itself (second link above) you will see that there is 2 Augusts, instead of the August & September that should be showing. Ideas?


Tony

  • Support Staff

October 7, 2024 at 9:44 am

Hi there,

I started looking into this but when I load a single event page I get a fatal error, for example:

https://hoffmanarts.org/events/july-gallery-exhibition-3/

Can you check what that error is in the PHP error logs?


pickwicksplum

October 10, 2024 at 8:22 am

So sorry! We had something else going on. You should be able to view the pages now…


pickwicksplum

October 15, 2024 at 8:56 am

Can you take another look please?

https://hoffmanarts.org/hoffman-gallery/


Tony

  • Support Staff

October 15, 2024 at 3:59 pm

Hi there,

Apologies for the delay.

Looking over the event displayed for September, the last datetime in that event runs on:

"DTT_EVT_start": "2024-08-31T12:00:00",
"DTT_EVT_end": "2024-08-31T17:00:00",
....
"DTT_EVT_start_gmt": "2024-08-31T19:00:00",
"DTT_EVT_end_gmt": "2024-09-01T00:00:00",

DTT_EVT_end_gmt will be used within the query here and that shows as September, which seems too coincidental not to be the cause.

We can test this, if you edit this event:

https://hoffmanarts.org/events/august-gallery-exhibition-2/

Find the Datetime for August 31, 2024.

The end date is currently set to 31/08/2024 5:00 PM

Change the time to something before 5:00pm, anything will do, 4:45 pm for example and save.

Does that fix the output?


pickwicksplum

October 31, 2024 at 8:29 am

That worked!!! Thanky you so much!

Viewing 5 reply threads

The support post ‘shortcode displaying wrong data’ 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