Yesterday I saw my error_log and was very astonished. There were more than 10000 errors, and only this:
[18-Mar-2009 02:03:55] 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 'AND taxonomy = 'category'' at line 1 for query SELECT * FROM wp_term_taxonomy WHERE term_taxonomy_id = AND taxonomy = 'category' made by require, require_once, include, include
Does anyone know what it means? It's a wordpress database.
As I guess you're about the empty value after term_taxonomy_id, is that right?
Correct! Someone, or something, must be repeatedly submmitting this improper query. Your job, should you decide to accept it, is to find the cause of this massively annoying error message and stamp it out.