Warning: A non-numeric value encountered in /home/beppinten/www/models/EntrylistRepository.php on line 323

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 '-20, 20' at line 27 in /home/beppinten/www/core/DbRepository.php:45 Stack trace: #0 /home/beppinten/www/core/DbRepository.php(45): PDOStatement->execute(Array) #1 /home/beppinten/www/core/DbRepository.php(71): DbRepository->execute('\n SE...', Array) #2 /home/beppinten/www/models/EntrylistRepository.php(325): DbRepository->fetchAll('\n SE...', Array) #3 /home/beppinten/www/controllers/NewsController.php(139): EntrylistRepository->fetchPublicEntryList(Array) #4 /home/beppinten/www/controllers/NewsController.php(55): newsController->getEntryList(Array) #5 /home/beppinten/www/core/Controller.php(74): newsController->indexAction(Array) #6 /home/beppinten/www/core/Application.php(268): Controller->run('index', Array) #7 /home/beppinten/www/core/Application.php(222): Application->run in /home/beppinten/www/core/DbRepository.php on line 45