Title: MySQL Syntax Problem w-v2.5.1
Last modified: August 19, 2016

---

# MySQL Syntax Problem w-v2.5.1

 *  [weathervane](https://wordpress.org/support/users/weathervane/)
 * (@weathervane)
 * [17 years, 12 months ago](https://wordpress.org/support/topic/mysql-syntax-problem-w-v251/)
 * After updating from a successfully running v2.5 to v2.5.1, my latest post(s) 
   no longer show up at the top of my post listing, and I get the following message
   when deleting posts:
 * `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'
   WHERE post_id=180' at line 1 for query DELETE FROM WHERE post_id=180 made by 
   post_deleted`
 * Any advice?

Viewing 1 replies (of 1 total)

 *  [texbiker](https://wordpress.org/support/users/texbiker/)
 * (@texbiker)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/mysql-syntax-problem-w-v251/#post-751847)
 * I am getting a similar error message when I go to a post. I am using version 
   2.5.1.

Viewing 1 replies (of 1 total)

The topic ‘MySQL Syntax Problem w-v2.5.1’ is closed to new replies.

## Tags

 * [delete](https://wordpress.org/support/topic-tag/delete/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [texbiker](https://wordpress.org/support/users/texbiker/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/mysql-syntax-problem-w-v251/#post-751847)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
