WordPress database error: [Unknown column 'pork_tec_occurrences.start_date' in 'field list']
SELECT SQL_CALC_FOUND_ROWS pork_posts.ID, CAST( pork_tec_occurrences.start_date AS DATETIME ) AS event_date FROM pork_posts WHERE 1=1 AND pork_posts.post_password != '' AND pork_posts.post_type IN ('post', 'page', 'team', 'company') AND ((pork_posts.post_status <> 'trash' AND pork_posts.post_status <> 'auto-draft')) GROUP BY pork_tec_occurrences.occurrence_id ORDER BY event_date ASC, pork_posts.post_date ASC LIMIT 0, 10

WordPress database error: [Unknown column 'pork_tec_occurrences.start_date' in 'field list']
SELECT pork_posts.ID, CAST( pork_tec_occurrences.start_date AS DATETIME ) AS event_date, CAST( pork_tec_occurrences.duration AS DECIMAL ) AS event_duration FROM pork_posts LEFT JOIN pork_term_relationships ON (pork_posts.ID = pork_term_relationships.object_id) WHERE 1=1 AND ( pork_term_relationships.term_taxonomy_id IN (237) ) AND pork_posts.post_type IN ('post', 'page', 'team', 'company') AND ((pork_posts.post_status = 'publish')) AND (( TIMESTAMPDIFF ( SECOND, pork_tec_occurrences.start_date, '2024-03-04 23:59:59' ) >= 1 AND TIMESTAMPDIFF ( SECOND, '2024-03-04 00:00:00', pork_tec_occurrences.end_date ) >= 1 )) GROUP BY pork_tec_occurrences.occurrence_id ORDER BY event_date ASC, event_duration ASC, pork_posts.post_date ASC

WordPress database error: [Unknown column 'pork_tec_occurrences.start_date' in 'field list']
SELECT SQL_CALC_FOUND_ROWS pork_posts.ID, CAST( pork_tec_occurrences.start_date AS DATETIME ) AS event_date FROM pork_posts INNER JOIN pork_postmeta ON ( pork_posts.ID = pork_postmeta.post_id ) WHERE 1=1 AND ( ( pork_postmeta.meta_key = '_EventStartDate' AND CAST(pork_postmeta.meta_value AS DATETIME) > '2024-03-04 00:00:00' ) ) AND pork_posts.post_type IN ('post', 'page', 'team', 'company') AND ((pork_posts.post_status = 'publish')) GROUP BY pork_tec_occurrences.occurrence_id ORDER BY event_date ASC, pork_posts.post_date ASC LIMIT 0, 10

WordPress database error: [Unknown column 'pork_tec_occurrences.start_date' in 'field list']
SELECT SQL_CALC_FOUND_ROWS pork_posts.ID, CAST( pork_tec_occurrences.start_date AS DATETIME ) AS event_date FROM pork_posts INNER JOIN pork_postmeta ON ( pork_posts.ID = pork_postmeta.post_id ) WHERE 1=1 AND ( ( pork_postmeta.meta_key = '_EventStartDate' AND CAST(pork_postmeta.meta_value AS DATETIME) > '2024-03-04 00:00:00' ) ) AND pork_posts.post_type IN ('post', 'page', 'team', 'company') AND ((pork_posts.post_status = 'publish')) GROUP BY pork_tec_occurrences.occurrence_id ORDER BY event_date ASC, pork_posts.post_date ASC LIMIT 0, 10

WordPress database error: [Unknown column 'pork_tec_occurrences.start_date' in 'field list']
SELECT SQL_CALC_FOUND_ROWS pork_posts.ID, CAST( pork_tec_occurrences.start_date AS DATETIME ) AS event_date FROM pork_posts LEFT JOIN pork_term_relationships ON (pork_posts.ID = pork_term_relationships.object_id) INNER JOIN pork_postmeta ON ( pork_posts.ID = pork_postmeta.post_id ) WHERE 1=1 AND ( pork_term_relationships.term_taxonomy_id IN (237) ) AND ( ( pork_postmeta.meta_key = '_EventStartDate' AND CAST(pork_postmeta.meta_value AS DATETIME) > '2024-03-04 23:59:59' ) ) AND pork_posts.post_type IN ('post', 'page', 'team', 'company') AND ((pork_posts.post_status = 'publish')) GROUP BY pork_tec_occurrences.occurrence_id ORDER BY event_date ASC, pork_posts.post_date ASC LIMIT 0, 1

WordPress database error: [Unknown column 'pork_tec_occurrences.start_date' in 'field list']
SELECT SQL_CALC_FOUND_ROWS pork_posts.ID, CAST( pork_tec_occurrences.start_date AS DATETIME ) AS event_date FROM pork_posts LEFT JOIN pork_term_relationships ON (pork_posts.ID = pork_term_relationships.object_id) INNER JOIN pork_postmeta ON ( pork_posts.ID = pork_postmeta.post_id ) WHERE 1=1 AND ( pork_term_relationships.term_taxonomy_id IN (237) ) AND ( ( pork_postmeta.meta_key = '_EventStartDate' AND CAST(pork_postmeta.meta_value AS DATETIME) < '2024-03-04 00:00:00' ) ) AND pork_posts.post_type IN ('post', 'page', 'team', 'company') AND ((pork_posts.post_status = 'publish')) GROUP BY pork_tec_occurrences.occurrence_id ORDER BY event_date DESC, pork_posts.post_date DESC LIMIT 0, 1

Liked it? Share it!

BE UPDATED. SUBSCRIBE TO THE NEWSLETTER