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 comment_approved = '1'' at line 1]
SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_post_ID = AND comment_approved = '1';
It says this on the index page of my blog where the content (of blog entry) is supposed to appear. I was wondering which part went wrong. I'd really appreciate it if anyone could help me out with this.
Also, I would like to know where can I find the default templates.