Title: WordPress database error
Last modified: October 12, 2017

---

# WordPress database error

 *  Resolved [studiopolak](https://wordpress.org/support/users/studiopolak/)
 * (@studiopolak)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/wordpress-database-error-117/)
 * Dear WordPress.org
 * I am using the Avada Theme together with Modern tribe events plugin, And I got
   a message above my events.
 * WordPress database error: [Unknown column ‘wp_postmeta.meta_value’ in ‘field 
   list’]
    SELECT DISTINCT wp_posts.*, MIN(wp_postmeta.meta_value) as EventStartDate,
   MIN(tribe_event_end_date.meta_value) as EventEndDate FROM wp_posts JOIN wp_icl_translations
   t ON wp_posts.ID = t.element_id AND t.element_type = CONCAT(‘post_’, wp_posts.
   post_type) 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 = ‘_EventEndDate’ ) WHERE 1=1 AND wp_posts.
   ID NOT IN (2236,2170,2158,2146,2136,1066,1410,2636,2656,2677,2679,3021) AND wp_posts.
   post_type = ‘tribe_events’ AND (wp_posts.post_status = ‘publish’ OR wp_posts.
   post_status = ‘tribe-ea-success’ OR wp_posts.post_status = ‘tribe-ea-failed’ 
   OR wp_posts.post_status = ‘tribe-ea-schedule’ OR wp_posts.post_status = ‘tribe-
   ea-pending’ OR wp_posts.post_status = ‘tribe-ea-draft’ OR wp_posts.post_status
   = ‘private’) AND ( ( t.language_code = ‘en’ AND wp_posts.post_type IN (‘post’,’
   page’,’tribe_venue’,’tribe_organizer’,’tribe_events’,’avada_portfolio’,’avada_faq’,’
   slide’ ) ) OR wp_posts.post_type NOT IN (‘post’,’page’,’tribe_venue’,’tribe_organizer’,’
   tribe_events’,’avada_portfolio’,’avada_faq’,’slide’ ) ) ORDER BY EventStartDate
   DESC, wp_posts.post_date DESC LIMIT 0, 1
 * I run WP 4.8.2
    Avada Theme 5.5.2 Event tribe 4.6.1
 * I did try to remove the event plugin and reinstalled the plugin afterwards.
 * I recently migrated the website to another server from PHP 5.5 too PHP 5.6
 * What could be the problem?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-database-error-117%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Victor Zarranz](https://wordpress.org/support/users/vicskf/)
 * (@vicskf)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/wordpress-database-error-117/#post-10143353)
 * Hi [@studiopolak](https://wordpress.org/support/users/studiopolak/),
 * I’m sorry for the delay in getting back to you.
 * Are you still experiencing this issue with your site?
 * If you do, please make sure you update to the latest version of our plugin and
   see if any changes.
 * If no changes, then I’d recommend you make sure you it’s not a theme or plugin
   conflict by going through the steps in our [Testing for Conflicts Guide](https://theeventscalendar.com/knowledgebase/testing-for-conflicts/)
   to see if any difference.
 * Let us know about it.
 * Best,
    Victor

Viewing 1 replies (of 1 total)

The topic ‘WordPress database error’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

 * [WordPress database error](https://wordpress.org/support/topic-tag/wordpress-database-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Victor Zarranz](https://wordpress.org/support/users/vicskf/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/wordpress-database-error-117/#post-10143353)
 * Status: resolved