ExceptionSQL rencontrée : erreur SQL lors d'une requête de type SELECT. (code 201)
Requète = SELECT SQL_CALC_FOUND_ROWS id FROM feral_biens WHERE 1 AND (agence_1=1 OR agence_2=1 OR agence_3=1 OR agence_4=1 OR agence_5=1 OR agence_6=1) AND exclusivite LIKE '%1%' AND vendu LIKE '%0%' AND nb_chambres >= '0' AND type_biens IN () ORDER BY rand()

Erreur retournée : 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 ') ORDER BY rand()' at line 1


Localisation de l'erreur :
#0 /home/feraliss/www/classes/bien.php(1420): SQL->query('SELECT SQL_CALC...')
#1 /home/feraliss/www/controllers/front/bienController.php(58): Bien::getCollection(Array)
#2 /home/feraliss/www/classes/dispatcher.php(27): bienController::displayContent()
#3 /home/feraliss/www/index.php(5): Dispatcher::dispatch()
#4 {main}