SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.1.3): Invalid SQL: SELECT a.replycount AS replies,a.boardid AS boardparentid,a.threadid AS threadid,a.topic AS threadname FROM bb2_threads AS a,bb2_boards AS b WHERE a.boardid = b.boardid ORDER BY a.replies DESC
mysql error: Unknown column 'a.replies' in 'order clause'
mysql error number: 1054
mysql version: 5.7.20
php version: 5.6.32
Date: 24.11.2017 @ 10:16
Script: /forum/statistik.php?sid=22b04d6f376b8c251d734fa9ab484d84
Referer: