Assertion Failed: File '/home/chironwe/public_html/blogs/feed.php'; Line '579'; Code ''

Failed to execute the SQL query

select c.title, c.icon, i.title from  channels  c inner join  item  i on i.cid = where =  and and not(i.unread & 8) 

Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and and not(i.unread & 8)' at line 1