Requête erroné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 nom , prenom' at line 1

SELECT DISTINCT personnes.* FROM personnes, concerts, concerts_personnes, saisons WHERE personnes.est_publie='YES' AND concerts_personnes.personnes_id = personnes.id AND concerts_personnes.concerts_id= concerts.id AND saisons_id = saisons.id AND saisons.est_publie = 'YES' AND concerts.est_publie = 'YES' AND personnes.id IN (SELECT personnes_id FROM personnes_personnesgroupes WHERE personnesgroupes_id=) ORDER BY nom , prenom


#1 /home/clients/44bea4aa146ad3aeec7a4a4aa226502e/web/cms/lib/db.php(38): obj->_error()
#2 /home/clients/44bea4aa146ad3aeec7a4a4aa226502e/web/pages/artistes.php(110): db->execQuery()
#3 /home/clients/44bea4aa146ad3aeec7a4a4aa226502e/web/index.php(367): include()