mysqli_sql_exception: 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 is_deleted = 0 AND is_principal = 1' at line 1 in /var/www/vhosts/reperteau.info/httpdocs/lib/DatabaseObject.php:524 Stack trace: #0 /var/www/vhosts/reperteau.info/httpdocs/lib/DatabaseObject.php(524): mysqli->query() #1 /var/www/vhosts/reperteau.info/httpdocs/app/models/Experience.php(546): DatabaseObject->findBySql() #2 /var/www/vhosts/reperteau.info/httpdocs/app/models/Experience_issue.php(120): Experience->getRandomPicture() #3 /var/www/vhosts/reperteau.info/httpdocs/app/controllers/BonnespratiquesController.php(828): Experience_issue->getList() #4 /var/www/vhosts/reperteau.info/httpdocs/lib/ActionController.php(447): BonnespratiquesController->enjeux() #5 /var/www/vhosts/reperteau.info/httpdocs/lib/ActionController.php(184): ActionController->executeAction() #6 /var/www/vhosts/reperteau.info/httpdocs/lib/ApplicationController.php(308): ActionController->renderAction() #7 /var/www/vhosts/reperteau.info/httpdocs/index.php(39): ApplicationController->processRequest() #8 {main}HTTP/1.1 500 Internal Server Error

HTTP/1.1 500 Internal Server Error

Une erreur du serveur est survenue.