I just got a WordPress database error that reads:
"[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 category_nicename FROM wp_categories WHERE cat_ID="
The error is showing under all my posts and other random places. It also shows in the manage posts area on the admin page. My blog is located at http://www.zachkarst.com/wp. I am running WordPress version 1.5.1. All help will be greatly appreciated.