Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '-8,8' at line 1 in /home/leluxfh/www/models/EalbRepository.php:36
Stack trace:
#0 /home/leluxfh/www/models/EalbRepository.php(36): PDOStatement->execute()
#1 /home/leluxfh/www/controllers/member/EalbController.php(17): EalbRepository->getEalbsByLimit(-8, 8)
#2 /home/leluxfh/www/public/router/router.php(54): EalbController->index()
#3 /home/leluxfh/www/public/router/routes.php(84): Router->dispatch()
#4 /home/leluxfh/www/index.php(15): require('/home/leluxfh/w...')
#5 {main}
thrown in /home/leluxfh/www/models/EalbRepository.php on line 36