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-09-01 01:28:40'
) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) AND (wp_tec_series_relationships.series_post_id IN(10002113)) AND (wp_posts.ID NOT IN (73648,73649))
GROUP BY wp_tec_occurrences.occurrence_id
ORDER BY wp_posts.post_date ASC
LIMIT 0, 10000000
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-09-01 01:28:40'
) AND wp_posts.post_type = 'tribe_events' AND ((wp_posts.post_status = 'publish')) AND (wp_tec_series_relationships.series_post_id IN(10002113)) AND (wp_posts.ID NOT IN (73648,73649))
GROUP BY wp_tec_occurrences.occurrence_id
ORDER BY wp_posts.post_date ASC
LIMIT 0, 10000000