SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: SELECT * FROM bb2_jgs_galerie_bilder WHERE kategorie IN (01,2,3,4,5,6,7,8,9,10,11,12,17,18,19,20) AND kategorie = '10' 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.7.21-nmm1-log
php version: 5.5.38-nmm3
Date: 21.09.2018 @ 00:11
Script: /wbb2/jgs_galerie_userbilder.php?kategorie=10&bildid=554
Referer: