Assertion Failed: File '/web/htdocs/www.infofilosofia.info/home/blocs/feed.php'; Line '579'; Code ''

Failed to execute the SQL query

select c.title, c.icon, i.title from  rss_channels  c inner join  rss_item  i on i.cid = c.id where c.id =  and i.id=07 and not(i.unread & 8) 

Error 1064: 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 i.id=07 and not(i.unread & 8)' at line 1