Fatal error: Uncaught exception 'PDOException' with message '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 ') AND dormitorios IN() ORDER BY rand() LIMIT 4' at line 11' in /var/www/html/public_html/application/models/Imovel.php:652 Stack trace: #0 /var/www/html/public_html/application/models/Imovel.php(652): PDOStatement->execute() #1 /var/www/html/public_html/application/models/Imovel.php(589): Imovel->listarImoveisRelacionadosMysql(NULL, NULL) #2 /var/www/html/public_html/application/controllers/FichaImovel.php(29): Imovel->listarImovelRelacionados(NULL, NULL, '3') #3 /var/www/html/public_html/application/library/Application.php(57): FichaImovel->indexAction() #4 /var/www/html/public_html/index.php(86): Application->run('/aluga/porto-al...') #5 {main} thrown in /var/www/html/public_html/application/models/Imovel.php on line 652