A Database Error Occurred

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, 10' at line 7

SELECT * FROM (`events`) WHERE `end_date` < '2024-03-19' AND `holding_tank` = 0 AND `active` = 1 ORDER BY `start_date` DESC LIMIT -10, 10

Filename: /home/gastroweb/apps/oag_2018/core/MY_Model.php

Line Number: 187