SQL-DATABASE ERROR

Database error in WoltLab Burning Board (): Invalid SQL: SELECT u.userid FROM bb1_users u ORDER BY
mysql error: 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 '' at line 1
mysql error number: 1064
mysql version: 5.5.40-0+wheezy1
php version: 5.6.40-53+0~20210826.55+debian9~1.gbp975ea4
Date: 05.12.2022 @ 12:40
Script: /memberslist.php?sid=46abe3f8e2056e1d543d1805bb83437f
Referer: