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 'AND ordre_affichage < ORDER BY ABS(ordre_affichage) DESC LIMIT 1' at line 1

SELECT evenements.id,slug FROM evenements WHERE evenements_type='' AND evenements.id<>'' AND saisons_id= AND ordre_affichage < ORDER BY ABS(ordre_affichage) DESC LIMIT 1


#1 /home/clients/0a9c041cf62bf12505b5299e32effff6/sites/cms/lib/db.php(42): obj->_error()
#2 /home/clients/0a9c041cf62bf12505b5299e32effff6/sites/inc/evenements.php(164): db->execQuery()
#3 /home/clients/0a9c041cf62bf12505b5299e32effff6/sites/pages/evenements.php(126): evenements->display()
#4 /home/clients/0a9c041cf62bf12505b5299e32effff6/sites/pages/autour_des_spectacles.php(4): include()
#5 /home/clients/0a9c041cf62bf12505b5299e32effff6/sites/index.php(339): include()