Just found another site with the same issue:
https://velvetvalley.org/calendar/
Plugin Support
Darian
(@d0153)
Hi @paul-hartman
Thanks for reaching out. Let me help you with this one.
If you haven’t tried it yet, please consider applying the following snippet and see if that helps:
/**
* Changes Past Event Reverse Chronological Order
*
* @param array $template_vars An array of variables used to display the current view.
*
* @return array Same as above.
*/
function tribe_past_reverse_chronological_v2( $template_vars ) {
if ( ! empty( $template_vars['is_past'] ) ) {
$template_vars['events'] = array_reverse( $template_vars['events'] );
}
return $template_vars;
}
// Change List View to Past Event Reverse Chronological Order
add_filter( 'tribe_events_views_v2_view_list_template_vars', 'tribe_past_reverse_chronological_v2', 100 );
// Change Photo View to Past Event Reverse Chronological Order
add_filter( 'tribe_events_views_v2_view_photo_template_vars', 'tribe_past_reverse_chronological_v2', 100 );
You can add the following snippet to your theme’s functions.php
file or by using the Code Snippets plugin.
As always, please test it first on a staging version of your live site to avoid unnecessary downtime to your live site. Let me know how it goes.
That didn’t change anything, still showing the 3 oldest events. I used the Code Snippets plugin (run on front end only).
Another data point that might be helpful. I haven’t updated TEC on this site and it is showing Latest Past Events correctly (TEC 6.7.0). It appears to be the update to 6.7.1 that causes the issue.
https://www.thevpc.org/upcoming-events/
Hi @paul-hartman,
Thanks a lot for reporting this. We were able to confirm the issue you described and we are already working on the solution (TECTRIA-491). We’ll let you know whenever there are any updates on this.
Plugin Support
Darian
(@d0153)
Hi @paul-hartman
We prioritize bugs by taking into consideration the number of users impacted as well as how the bug impacts one’s ability to run an event/sell tickets. I don’t have a specific timeline as to when this issue will be resolved, but trust that our team is aware. Our team communicates updates and bug fixes in our newsletter and via our changelog.
In the meantime, the current workaround is to downgrade TEC to v6.7.0
I’m happy to help if any other questions are coming up around this topic, otherwise I’ll go ahead and close this ticket.
Thanks again for reporting this issue and for using The Events Calendar! Have a great day.
—
Internal Bug Ticket Reference: TECTRIA-491
I can confirm that this error is happening in our 2 websites where we updated to 6.7.1
So please add 2 to the number of users impacted!
Thanks!
Hi @aebs90,
Thanks for confirming. We will notify on this thread when this issue has been resolved.
Thanks again for your patience
This issue is not resolved with the latest update TEC 6.8.0. See https://markisaacs.com/events/ With no upcoming events, oldest three events appear under ‘Latest Past Events’. The 2024 event that exists in the calendar does not appear there.
Replying to get email notifications
TEC 6.8.1 fixes this issue. Thank you!