WordPress.org

Ready to get started?Download WordPress

Forums

2.2 Delete Draft Post returns error (2 posts)

  1. intricateartist
    Member
    Posted 7 years ago #

    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.

  2. intricateartist
    Member
    Posted 7 years ago #

    anyone have any ideas about why I can't delete a draft?

Topic Closed

This topic has been closed to new replies.

About this Topic