WordPress.org

Support

Support » How-To and Troubleshooting » 2.2 Delete Draft Post returns error

2.2 Delete Draft Post returns error

  • I just tried to delete a draft and got the following error:

    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 'AND p.post_date_gmt < '2007-05-27 13:45:33' ORDER By p.post_date DESC' at line 6]
    SELECT DISTINCT MONTH(p.post_date) AS <code>month</code> FROM wp_posts p INNER JOIN wp_post2cat p2c ON (p.ID = p2c.post_id ) WHERE YEAR(p.post_date) = AND p.post_date_gmt < '2007-05-27 13:45:33' ORDER By p.post_date DESC

    That is way over my head. Direction would be much appreciated.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘2.2 Delete Draft Post returns error’ is closed to new replies.
Skip to toolbar