Error fetching alternatives: 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 t.id != 1 AND t.status = 'active' GROUP BY t.id ORDER BY t' at line 6