The following query in getRatings(, , i.ovr, DESC); failed:
SELECT p.name, p.pos, i.ovr, r.* FROM madcat_yearly_player_info i JOIN madcat_players p ON p.id = i.id JOIN madcat_opt_ratings r ON r.id = p.id AND r.year = i.year WHERE i.year = AND p.id = 6184 ORDER BY i.ovr DESC