WordPress database error: [Not unique table/alias: 'wp_tec_occurrences']
SELECT SQL_CALC_FOUND_ROWS (wp_tec_occurrences.occurrence_id + 10000000) as occurrence_id
FROM wp_posts INNER JOIN wp_tec_occurrences ON wp_posts.ID = wp_tec_occurrences.post_id
LEFT JOIN wp_tec_series_relationships ON wp_tec_series_relationships.event_post_id = wp_posts.ID
JOIN wp_tec_occurrences ON wp_posts.ID = wp_tec_occurrences.post_id
WHERE 1=1 AND (
CAST(wp_tec_occurrences.end_date_utc AS DATETIME) < '2024-05-04 09:30:30'
) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) AND (wp_tec_series_relationships.series_post_id IN(10000112))
GROUP BY wp_tec_occurrences.occurrence_id
ORDER BY wp_posts.post_date ASC
LIMIT 0, 13
/* From [ottawa.impacthub.net//?tribe_events=community-salad-bar-2&post_type=tribe_events&eventDisplay=past&tribe_recurrence_list=1] in [/nas/content/live/business4good/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/WP_Query/Custom_Tables_Query.php:199] */
WordPress database error: [Not unique table/alias: 'wp_tec_occurrences']
SELECT SQL_CALC_FOUND_ROWS (wp_tec_occurrences.occurrence_id + 10000000) as occurrence_id
FROM wp_posts INNER JOIN wp_tec_occurrences ON wp_posts.ID = wp_tec_occurrences.post_id
LEFT JOIN wp_tec_series_relationships ON wp_tec_series_relationships.event_post_id = wp_posts.ID
JOIN wp_tec_occurrences ON wp_posts.ID = wp_tec_occurrences.post_id
WHERE 1=1 AND (
CAST(wp_tec_occurrences.end_date_utc AS DATETIME) < '2024-05-04 09:30:30'
) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) AND (wp_tec_series_relationships.series_post_id IN(10000112))
GROUP BY wp_tec_occurrences.occurrence_id
ORDER BY wp_posts.post_date ASC
LIMIT 0, 13
/* From [ottawa.impacthub.net//?tribe_events=community-salad-bar-2&post_type=tribe_events&eventDisplay=past&tribe_recurrence_list=1] in [/nas/content/live/business4good/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/WP_Query/Custom_Tables_Query.php:199] */