SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: SELECT * FROM bb1_jgs_galerie_bilder WHERE kategorie IN (03,4,5,6,7,8,9,10,11,12,13,14,15) AND kategorie = '14' AND gesperrt = '0' ORDER BY bild_id ASC LIMIT -4, 4
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 '-4, 4' at line 1
mysql error number: 1064
mysql version: 5.1.73-1+deb6u1
php version: 5.2.6-1+lenny16
Date: 26.05.2019 @ 08:05
Script: /jgs_galerie_userbilder.php?kategorie=14&bildid=9&page=1&amp
Referer: