WordPress database error: [Not unique table/alias: 'wp_arg_tec_occurrences']
SELECT SQL_CALC_FOUND_ROWS (wp_arg_tec_occurrences.occurrence_id + 10000000) as occurrence_id
FROM wp_arg_posts INNER JOIN wp_arg_tec_occurrences ON wp_arg_posts.ID = wp_arg_tec_occurrences.post_id
LEFT JOIN wp_arg_tec_series_relationships ON wp_arg_tec_series_relationships.event_post_id = wp_arg_posts.ID
JOIN wp_arg_tec_occurrences ON wp_arg_posts.ID = wp_arg_tec_occurrences.post_id
WHERE 1=1 AND (
CAST(wp_arg_tec_occurrences.end_date_utc AS DATETIME) < '2024-03-28 21:02:01'
) AND wp_arg_posts.post_type = 'tribe_events' AND ((wp_arg_posts.post_status = 'publish')) AND (wp_arg_tec_series_relationships.series_post_id IN(10000581)) AND (wp_arg_posts.ID NOT IN (2949,3289,3211,3293,3305,3768))
GROUP BY wp_arg_tec_occurrences.occurrence_id
ORDER BY wp_arg_posts.post_date ASC
LIMIT 0, 13
WordPress database error: [Not unique table/alias: 'wp_arg_tec_occurrences']
SELECT SQL_CALC_FOUND_ROWS (wp_arg_tec_occurrences.occurrence_id + 10000000) as occurrence_id
FROM wp_arg_posts INNER JOIN wp_arg_tec_occurrences ON wp_arg_posts.ID = wp_arg_tec_occurrences.post_id
LEFT JOIN wp_arg_tec_series_relationships ON wp_arg_tec_series_relationships.event_post_id = wp_arg_posts.ID
JOIN wp_arg_tec_occurrences ON wp_arg_posts.ID = wp_arg_tec_occurrences.post_id
WHERE 1=1 AND (
CAST(wp_arg_tec_occurrences.end_date_utc AS DATETIME) < '2024-03-28 21:02:01'
) AND wp_arg_posts.post_type = 'tribe_events' AND ((wp_arg_posts.post_status = 'publish')) AND (wp_arg_tec_series_relationships.series_post_id IN(10000581)) AND (wp_arg_posts.ID NOT IN (2949,3289,3211,3293,3305,3768))
GROUP BY wp_arg_tec_occurrences.occurrence_id
ORDER BY wp_arg_posts.post_date ASC
LIMIT 0, 13