Fatal error: Uncaught Exception: DB Error: 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 (LOWER(asf0.setting_value) LIKE LOWER('r%') OR LOWER(asf1.setting_value) LIK' at line 55 Query: SELECT a.*, ug.show_title, p.locale, COALESCE(agl.setting_value, agpl.setting_value) AS author_given, CASE WHEN agl.setting_value <> '' THEN afl.setting_value ELSE afpl.setting_value END AS author_family FROM authors a JOIN user_groups ug ON (a.user_group_id = ug.user_group_id) JOIN publications p ON (p.publication_id = a.publication_id) JOIN submissions s ON (s.current_publication_id = p.publication_id) LEFT JOIN author_settings agl ON (a.author_id = agl.author_id AND agl.setting_name = ? AND agl.locale = ?) LEFT JOIN author_settings agpl ON (a.author_id = agpl.author_id AND agpl.setting_name = ? AND agpl.locale = p.locale) LEFT JOIN author_settings afl ON (a.author_id = afl.author_id AND afl.setting_name = ? AND in /www/site_rei_ojs/public_html/lib/pkp/classes/db/DAO.inc.php on line 703