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/suporteqei/public_html/luizeustaquiocorretor.com.br/dao/ImovelDAO.php:223
Stack trace:
#0 /home/suporteqei/public_html/luizeustaquiocorretor.com.br/dao/ImovelDAO.php(223): PDOStatement->execute()
#1 /home/suporteqei/public_html/luizeustaquiocorretor.com.br/imoveis.php(176): ImovelDAO->findByCorretoraPaginadoAtivo(35, -6, 6)
#2 /home/suporteqei/public_html/luizeustaquiocorretor.com.br/index.php(166): include('/home/suporteqe...')
#3 {main}
thrown in /home/suporteqei/public_html/luizeustaquiocorretor.com.br/dao/ImovelDAO.php on line 223