Database query failed: 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 ')) AS projectcount FROM statuses s GROUP BY s.id ORDER BY s.orderid' at line 2
Last SQL query: SELECT s.title,s.urlname, (SELECT COUNT(p.id) FROM projects p WHERE status = s.id AND p.id IN ()) AS projectcount FROM statuses s GROUP BY s.id ORDER BY s.orderid