• Resolved laetitia Godet

    (@laetitia-godet)


    Hello,

    I get the following error :
    Erreur de la base de donn\xc3\xa9es WordPress Champ ‘wp_postmeta.meta_value’ inconnu dans field list pour la requ\xc3\xaate SELECT DISTINCT wp_posts.*, MIN(wp_postmeta.meta_value) as EventStartDate, MIN(tribe_event_end_date.meta_value) as EventEndDate FROM wp_posts LEFT JOIN wp_postmeta as tribe_event_end_date ON ( wp_posts.ID = tribe_event_end_date.post_id AND tribe_event_end_date.meta_key = ‘_EventEndDateUTC’ ) WHERE 1=1 AND wp_posts.post_type = ‘tribe_events’ AND (wp_posts.post_status = ‘publish’) AND ( wp_posts.post_view_cap IN (‘exist’) ) ORDER BY EventStartDate DESC, wp_posts.post_date DESC LIMIT 0, 1 faite par require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts

    How to correct it?

    Thanks

    https://wordpress.org/plugins/the-events-calendar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter laetitia Godet

    (@laetitia-godet)

    WordPress : 4.5.2
    Plugin The Event Calendar : 4.1.4

    Thread Starter laetitia Godet

    (@laetitia-godet)

    If I change as :
    SELECT DISTINCT wp_posts.*, MIN(tribe_event_end_date.meta_value) as EventStartDate, MIN(tribe_event_end_date.meta_value) as EventEndDate FROM wp_posts LEFT JOIN wp_postmeta as tribe_event_end_date ON ( wp_posts.ID = tribe_event_end_date.post_id AND tribe_event_end_date.meta_key = ‘_EventEndDateUTC’ ) WHERE 1=1 AND wp_posts.post_type = ‘tribe_events’ AND (wp_posts.post_status = ‘publish’) AND ( wp_posts.post_view_cap IN (‘exist’) ) ORDER BY EventStartDate DESC, wp_posts.post_date DESC LIMIT 0

    it’s work but where is the query ?

    Brook

    (@brook-tribe)

    Howdy Laetitia,

    I already helped you in you other topic: https://wordpress.org/support/topic/error-database-7 Please note it is against the forum rules on WordPress.org to bump topics or open duplicates. Just so you don’t get on the moderators list I would keep things confined to the one topic. 🙂

    – Brook

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error database’ is closed to new replies.