Fatal error: 1054: Unknown column 'PARAM5' in 'where clause'
SELECT b.id, b.name, b.title, CASE WHEN CHAR_LENGTH(b.teaser) < 275 THEN b.teaser ELSE CONCAT(SUBSTR(b.teaser, 1, 272), "...") END AS teaser, DATE_FORMAT(b.created, "%d-%m-%Y \o\m %H:%i") as dateCreated, CASE b.imageFile IS NULL WHEN 1 THEN "standard-news.jpg" ELSE imageFile END AS imageFile, u.artistName
FROM news b INNER JOIN sys_users u ON b.userId = u.id
WHERE b.display = 1 and YEAR(b.created) = PARAM5
ORDER BY b.created DESC
in /var/www/vhosts/cm.gcm.cscglobal.com/httpdocs/gcore/classes/db.php on line 139