WordPress.org

Ready to get started?Download WordPress

Forums

WordPress database error in permalink (3 posts)

  1. matt510
    Member
    Posted 9 years ago #

    Hello, I am getting this error in my permalinks / 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 'ORDER BY post_date ASC LIMIT 0,1' at line 1]
    SELECT ID,post_title FROM wp_posts WHERE post_date > '' AND post_date < '2005-05-07 17:54:31' AND post_status = 'publish' AND ID != ORDER BY post_date ASC LIMIT 0,1

    Can anyone help me out?? Thanks!

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Your posts / archives that I have just looked at seem fine.
    Can you indicate a specific post that causes this error ?

  3. matt510
    Member
    Posted 9 years ago #

    Thanks for checking. I have been messing around and figured out what the problem was, sorry I hadn't posted back here yet. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags