WordPress database error Unknown column
-
Hi this is appearing in our error log- should it be fixed? How would i go about trouble shooting this?
Thanks for any pointers
[18-Jul-2022 14:34:50 UTC] WordPress database error Unknown column ‘wph2_postmeta.meta_value’ in ‘field list’ for query
SELECT DISTINCT wph2_posts.*, MIN(wph2_postmeta.meta_value) as EventStartDate, MIN(tribe_event_end_date.meta_value) as EventEndDate
FROM wph2_posts LEFT JOIN wph2_term_relationships ON (wph2_posts.ID = wph2_term_relationships.object_id) LEFT JOIN wph2_postmeta as tribe_event_end_date ON ( wph2_posts.ID = tribe_event_end_date.post_id AND tribe_event_end_date.meta_key = ‘_EventEndDate’ )
WHERE 1=1 AND (
wph2_term_relationships.term_taxonomy_id IN (785)
) AND ((wph2_posts.post_type = ‘tribe_events’ AND (wph2_posts.post_status = ‘publish’ OR wph2_posts.post_status = ‘tribe-ea-success’ OR wph2_posts.post_status = ‘tribe-ea-failed’ OR wph2_posts.post_status = ‘tribe-ea-schedule’ OR wph2_posts.post_status = ‘tribe-ea-pending’ OR wph2_posts.post_status = ‘tribe-ea-draft’))) AND wph2_posts.post_type <> ‘chervinsky-app’ AND wph2_posts.post_type <> ‘juried-show-app’ AND wph2_posts.post_type <> ‘nepr’
GROUP BY wph2_posts.ID
ORDER BY EventStartDate DESC, wph2_posts.post_date DESC
LIMIT 0, 1
made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
- The topic ‘WordPress database error Unknown column’ is closed to new replies.