SQL-DATABASE ERROR

Database error in WoltLab Burning Board: Invalid SQL: SELECT u.userid, u.username, u.invisible, u.receivepm, u.lastactivity, uf.* FROM bb344_users u, bb344_groups g LEFT JOIN bb344_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: 18.12.2017 @ 21:19
Script: /team.php?sid=cb05a0af8a4937f2bccf09db4c6aeab2
Referer: