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
ORDER BY r.matchcode, r.round_date_first' at line 5 SQL=SELECT r.*, u.name AS editor FROM jos_joomleague_rounds AS r LEFT JOIN jos_users AS u ON u.id = r.checked_out WHERE r.project_id = ORDER BY r.matchcode, r.round_date_first