Error performing query: SELECT * FROM news WHERE YEAR(date_published)=new/js/jquery.nchlightbox-1.2.min.js AND type="blog" && visible=1 && date_published <= NOW() ORDER BY date_published DESC

SQLSTATE[42000]: Syntax error or access violation: 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 '.min.js AND type="blog" && visible=1 && date_published <= NOW() ORDER BY date_pu' at line 1
Fatal error: Call to a member function fetchAll() on a non-object in /web/htdocs/www.matrimonio-italiano.it/home/php/classes/DBaccess.php on line 84