« Parse Error »

encountered the following error while attempting to parse the requested resource:
« Esecuzione della query fallita
SELECT COUNT(*) FROM prodotti_contents AS pc, prodotti_index AS pi JOIN prodotti_cat_contents AS pcc ON pcc.id=pi.cat_id AND pcc.lingua_id='1' JOIN prezzi AS p ON p.prodotto_id=pi.id WHERE pi.id=pc.id AND pc.lingua_id='1' AND pi.attiva AND cat_id IN () .
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 »
Parser timing
  MySQL: ( Requests)