Title: Database Error
Last modified: October 30, 2018

---

# Database Error

 *  Resolved [bulewold](https://wordpress.org/support/users/bulewold/)
 * (@bulewold)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/database-error-271/)
 * WordPress database error: [Unknown column ‘estatus’ in ‘where clause’]
    SELECT
   COALESCE(SUM(booking_seats),0) AS booked_seats FROM nh1234e14c_eme_bookings WHERE
   estatus=1 AND vent_id = 120 and booking_approved=1
 * Hi there, so I’m getting above error and I think it has something to do with 
   server? Because backend is telling me it cannot connect to the server. Please
   help?

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

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/database-error-271/#post-10831071)
 * Based on this info, I think the query should be
    SELECT COALESCE(SUM(booking_seats),
   0) AS booked_seats FROM nh1234e14c_eme_bookings WHERE status=1 AND event_id =
   120 and booking_approved=1
 * So the “e” got mixed up when adding the “status=1” part.
    This is fixed here:
   [https://plugins.trac.wordpress.org/changeset/1965960/](https://plugins.trac.wordpress.org/changeset/1965960/)
 * I’ll release later on today.
 *  Thread Starter [bulewold](https://wordpress.org/support/users/bulewold/)
 * (@bulewold)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/database-error-271/#post-10831763)
 * FIXED, thanks!

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

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

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bulewold](https://wordpress.org/support/users/bulewold/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/database-error-271/#post-10831763)
 * Status: resolved