Fatal error: Not open query. Statement error:
SELECT n.*,
n.title_en AS title,
a.linkname AS authorLinkname,
CONCAT_WS(' ', a.name_en, a.lastname_en) AS authorName
FROM core_news n
LEFT JOIN core_author a ON a.id = n.author
WHERE n.active = 'y'
AND ()
AND n.id != ''
AND n.p_date <= NOW()
AND n.a_date >= NOW()
AND a.active = 'y'
ORDER BY n.p_date DESC
LIMIT 3
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 n.id != ''
AND n.p_date <= NOW()
AND n.a_date >= NOW()
AND a.active = ' at line 8You 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 n.id != ''
AND n.p_date <= NOW()
AND n.a_date >= NOW()
AND a.active = ' at line 81064 in /var/www/strategic/data/www/strategic-culture.org/libs/xx/class.Database.php on line 109