Error performing query: SELECT * FROM news WHERE YEAR(date_published)=index2.php AND type="news" && visible=1 && date_published <= NOW() ORDER BY date_published DESC

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'index2.php' in 'where clause'
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