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 '-10, 10' at line 1 in /home1/exitor56/public_html/adm/src/banner/BannerDAO.php:54 Stack trace: #0 /home1/exitor56/public_html/adm/src/banner/BannerDAO.php(54): PDOStatement->execute() #1 /home1/exitor56/public_html/adm/src/banner/BannerService.php(82): banner\BannerDAO->listarTodosBusca(-10, 10, Array) #2 /home1/exitor56/public_html/adm/src/banner/BannerService.php(53): banner\BannerService->listar() #3 /home1/exitor56/public_html/adm/src/RequestValidacao.php(99): banner\BannerService->validarGet() #4 /home1/exitor56/public_html/adm/src/RequestValidacao.php(69): RequestValidacao->get() #5 /home1/exitor56/public_html/adm/src/RequestValidacao.php(52): RequestValidacao->direcionarRequest() #6 /home1/exitor56/public_html/adm/banner.php(12): RequestValidacao->processarRequest() #7 {main} Next 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 '-10, 10' at line 1 in /home1/exitor56/public_html/adm/src/banner/BannerDAO.php:58 Stack trace: #0 /home1/exitor56/public_html/adm/src/banner/BannerService.php(82): banner\BannerDAO->listarTodosBusca(-10, 10, Array) #1 /home1/exitor56/public_html/adm/src/banner/BannerService.php(53): banner\BannerService->listar() #2 /home1/exitor56/public_html/adm/src/RequestValidacao.php(99): banner\BannerService->validarGet() #3 /home1/exitor56/public_html/adm/src/RequestValidacao.php(69): RequestValidacao->get() #4 /home1/exitor56/public_html/adm/src/RequestValidacao.php(52): RequestValidacao->direcionarRequest() #5 /home1/exitor56/public_html/adm/banner.php(12): RequestValidacao->processarRequest() #6 {main} thrown in /home1/exitor56/public_html/adm/src/banner/BannerDAO.php on line 58