At the bottom of my blog appears an error after I updated from 2.0 to 2.1.
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 '' at line 1]
SELECT COUNT(DISTINCT ID) FROM
It only appears at the bottom of the main page (http://www.conceptbakery.com/blog/ ) not when I click on a single article.
I upgraded from mysql 4 to 5.0.27 some time ago. WordPress was running fine on the 2.0 version.
Any ideas on how to fix this?