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
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) < '2023-03-29 00:46:37'
) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) AND (wp_tec_series_relationships.series_post_id IN(10002735)) AND (wp_posts.ID NOT IN (42723,46448,46663,46730,46941,47046,47062,47067,47080))
GROUP BY wp_tec_occurrences.occurrence_id
ORDER BY wp_posts.post_date ASC
LIMIT 0, 26
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
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) < '2023-03-29 00:46:37'
) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) AND (wp_tec_series_relationships.series_post_id IN(10002735)) AND (wp_posts.ID NOT IN (42723,46448,46663,46730,46941,47046,47062,47067,47080))
GROUP BY wp_tec_occurrences.occurrence_id
ORDER BY wp_posts.post_date ASC
LIMIT 0, 26