I hate to revive such a dead topic, but I just upgraded from 2.1 to 2.2 (yeah, I’m behind the times), and this problem showed up again. My sidebar displays this lovely messsage:
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 cat_id, cat_name FROM
I had somehow managed to fix it previously (or get someone else to fix it for me), but now I can’t remember what on earth I (or someone else) did.
If anyone could take a look at my sidebar file in the pastebin and tell me what exactly I need to do (not just that Template Tags need to be changed, but which tag, where, to what, and under which moon sign), I would really appreciate it.
Thank you very much.