an
groups-icon

non-premiumpress custom post type taxonomies problem

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.

    The related ticket is : DRM-109-62861

    November 25, 2019 at 9:22 am
  • Mark Fail
    11,845 points
    Platinum User
    Bronze User Silver User Gold User Platinum User Helpful Award Fast Responder Thank You Coffee Villian Award Video Testimonial
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    December 3, 2019 at 1:23 am
  • Adnan
    28 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    December 3, 2019 at 4:26 pm
  • James D
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    December 4, 2019 at 3:16 am
  • Adnan
    28 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    December 4, 2019 at 9:24 pm

922

Views

4

Replies