SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.4): Invalid SQL: SELECT * FROM bb1_jgs_galerie_bilder WHERE kategorie IN (0,1,2,3,4,5,6,7,8,9,10,11,12) AND user_id = '2994' 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.6.37-82.2-log
php version: 5.6.37-he.0
Date: 15.08.2018 @ 09:39
Script: /wbb2/jgs_galerie_userbilder.php?userid=2994&bildid=226&sid=d24cad6b52a26fde19d088d732218e89
Referer: