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

SELECT b.id_blog FROM szaki_blog b WHERE b.listed=1 AND b.date <= '2024-04-19 21:36' ORDER BY b.date DESC LIMIT -10,10

Fatal error: Uncaught exception 'Exception' in /home/laptopsz/public_html/override/classes/MySQL.php:18 Stack trace: #0 /home/laptopsz/public_html/classes/MySQL.php(306): MySQL->displayMySQLError('SELECT b.id_blo...') #1 /home/laptopsz/public_html/controllers/BlogController.php(139): MySQLCore->ExecuteS('SELECT b.id_blo...') #2 /home/laptopsz/public_html/classes/FrontController.php(65): BlogControllerCore->preProcess() #3 /home/laptopsz/public_html/blog.php(32): FrontControllerCore->run() #4 {main} thrown in /home/laptopsz/public_html/override/classes/MySQL.php on line 18