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 '-6, 6' at line 1 in /home/queroesteimovel/public_html/dao/ImovelDAO.php:287
Stack trace:
#0 /home/queroesteimovel/public_html/dao/ImovelDAO.php(287): PDOStatement->execute()
#1 /home/queroesteimovel/public_html/imoveis.php(215): ImovelDAO->findByPaginado(-6, 6)
#2 /home/queroesteimovel/public_html/index.php(159): include('/home/queroeste...')
#3 {main}
thrown in /home/queroesteimovel/public_html/dao/ImovelDAO.php on line 287