Title: [Plugin: Events Category] Database Error &#8211; error in your SQL syntax
Last modified: August 19, 2016

---

# [Plugin: Events Category] Database Error – error in your SQL syntax

 *  758450
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-events-category-database-error-error-in-your-sql-syntax/)
 * Doh, sorry I didn’t realize this was the support area! Apologies for posting 
   in your comments on you other site!
 * I have a error I can’t fathom: On the category page it is giving me:
 * WordPress database error You have an error in your SQL syntax; check the manual
   that corresponds to your MySQL server version for the right syntax to use near‘
   ORDER BY wp_posts.post_date DESC’ at line 1 for query SELECT SQL_CALC_FOUND_ROWS
   ID FROM wp_posts WHERE 1=1 AND post_date >= NOW() AND wp_posts.post_type = ‘post’
   AND (wp_posts.post_status = ‘publish’) GROUP BY /*EVENTS-GROUP-BY*/ ORDER BY 
   wp_posts.post_date DESC made by eventscategory_filter_posts_request
 * I am at a loss. It functions but the error isn’t pretty. It only occurs on the
   category view, single post views are fine – [http://www.oldwailukuinn.com/events/?cat=3](http://www.oldwailukuinn.com/events/?cat=3)
 * Thanks!
 * [http://wordpress.org/extend/plugins/events-category/](http://wordpress.org/extend/plugins/events-category/)

The topic ‘[Plugin: Events Category] Database Error – error in your SQL syntax’ 
is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: 758450
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-events-category-database-error-error-in-your-sql-syntax/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
