Requête erronée: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY RAND() LIMIT 1' at line 1

SELECT * FROM fonds WHERE est_publie='YES' AND id IN (SELECT fonds_id FROM fonds_a_entites WHERE entites_id=) ORDER BY RAND() LIMIT 1


#1 /home/clients/fe545e2f1078d9997c83a5fe988adc69/sites/pole-nord.ch/cms/lib/db.php(38): obj->_error()
#2 /home/clients/fe545e2f1078d9997c83a5fe988adc69/sites/pole-nord.ch/index.php(113): db->execQuery()