Database errors on single post pages
I’m getting a database error message when I click on a single-post page on my blog:
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 dailyhey_posts WHERE post_date > ” AND post_date < ‘2005-08-04 19:47:23’ AND post_status = ‘publish’ AND ID != ORDER BY post_date ASC LIMIT 0,1
This error first appeared when I upgraded from 1.2 to 1.5. Upgrading to 220.127.116.11 did not fix it. It appears despite the selected theme. I have another blog running off the same database where the error does not occur. I am stumped.
The error in action:
- The topic ‘Database errors on single post pages’ is closed to new replies.