WordPress.org

Ready to get started?Download WordPress

Forums

MySQL error when post is deleted (1 post)

  1. asfodel
    Member
    Posted 6 years ago #

    When I delete a post, if someone tries to access the deleted post, the page displays this 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 'ORDER BY post_date ASC LIMIT 1' at line 1]
    SELECT ID, post_title FROM wp_posts WHERE post_date > '' AND post_type = 'post' AND post_status = 'publish' AND ID != ORDER BY post_date ASC LIMIT 1

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.