Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
Adnan
28 points
Beginner
I am using a plugin which has its own custom post type. Unfortunately, the Categories and Tags of this custom post type are not working.
The error:
[Unknown column 'wp_eo_events.EndDate' in 'where clause']
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (8042) ) AND wp_posts.post_type = 'listing_type' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'confirmed' ) AND (wp_eo_events.EndDate > '2019-11-23' OR (wp_eo_events.EndDate = '2019-11-23' AND wp_eo_events.FinishTime > '00:19:42')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 12
It looks like, a PP function/filter named _pre_get_posts is hooking to all post_types changing the WP Queries.
I hope this issue can be resolved in the next update.
I am using a plugin which has its own custom post type. Unfortunately, the Categories and Tags of this custom post type are not working.
The error:
[Unknown column 'wp_eo_events.EndDate' in 'where clause']
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (8042) ) AND wp_posts.post_type = 'listing_type' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'confirmed' ) AND (wp_eo_events.EndDate > '2019-11-23' OR (wp_eo_events.EndDate = '2019-11-23' AND wp_eo_events.FinishTime > '00:19:42')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 12
It looks like, a PP function/filter named _pre_get_posts is hooking to all post_types changing the WP Queries.
I hope this issue can be resolved in the next update.
The related ticket is : DRM-109-62861
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now