SQL-DATABASE ERROR

Database error in WoltLab Burning Board: Invalid SQL: SELECT u.userid, u.username, u.invisible, u.receivepm, u.lastactivity, uf.* FROM bb3_users u, bb3_groups g LEFT JOIN bb3_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: 09.05.2021 @ 15:24
Script: /wbboard/team.php?sid=71d5128c2e9b7e56cf0bf75bdcd4a0a8
Referer: