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 ')
GROUP BY
parentID
ORDER BY
q DESC' at line 7
SELECT
parentID, count(*) AS q
FROM
dating_news
WHERE
parentID IN ()
GROUP BY
parentID
ORDER BY
q DESC
/home/gayly/public_html/blogs/comment.phtml(20)
exception.type=sql.execute
sql /home/gayly/public_html/blogs/comment.phtml(20) qComments /home/gayly/public_html/blogs/comment.phtml(20) inside /home/gayly/public_html/dating/auto.p(976) body /home/gayly/public_html/dating/auto.p(976) body /home/gayly/public_html/dating/auto.p(146) connect /home/gayly/public_html/dating/auto.p(146) server /home/gayly/public_html/dating/auto.p(971)