Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-10' at line 2
SELECT @rownum:=@rownum+1 as 'number', tb_press.* FROM tb_press WHERE (@rownum:=0)=0 ORDER BY idx DESC LIMIT 10 OFFSET -10
Filename: models/Tb_Press.php
Line Number: 28