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 AS DATETIME) < '2024-03-29 05:04:21'
) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) AND (wp_tec_series_relationships.series_post_id IN(10000163))
GROUP BY wp_tec_occurrences.occurrence_id
ORDER BY wp_posts.post_date ASC
LIMIT 0, 11
/* From [48north.com//?tribe_events=three-tree-point-yacht-club-thursday-series&post_type=tribe_events&eventDisplay=past&tribe_recurrence_list=1] in [/nas/content/live/nw48north/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 AS DATETIME) < '2024-03-29 05:04:21'
) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) AND (wp_tec_series_relationships.series_post_id IN(10000163))
GROUP BY wp_tec_occurrences.occurrence_id
ORDER BY wp_posts.post_date ASC
LIMIT 0, 11
/* From [48north.com//?tribe_events=three-tree-point-yacht-club-thursday-series&post_type=tribe_events&eventDisplay=past&tribe_recurrence_list=1] in [/nas/content/live/nw48north/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/WP_Query/Custom_Tables_Query.php:199] */