SQL-DATABASE ERROR

Database error in WoltLab Burning Board: Invalid SQL: SELECT u.userid, u.username, u.invisible, u.receivepm, u.lastactivity, uf.* FROM bb295_users u, bb295_groups g LEFT JOIN bb295_userfields uf ON (u.userid=uf.userid) WHERE u.groupid = g.groupid AND g.ismod=1 ORDER BY u.username ASC
mysql error: Unknown column 'u.userid' in 'on clause'
mysql error number: 1054
Date: 25.07.2017 @ 16:49
Script: /v34/boards/295/team.php?sid=c95472e8ce7fecdfc33b3e76eb5de5e9
Referer: