SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.1.5): 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: 10.1.48-MariaDB-0ubuntu0.18.04.1
php version: 5.3.29
Date: 15.06.2021 @ 08:12
Script: /statistik.php?sid=0a57c22c7d7f32488ffcc3afdbf19fdc
Referer: