Fatal error: Uncaught 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 '' at line 3 query: SELECT sum(note) AS somme, count(idcommentaire) AS count
FROM commentaire
WHERE idjeu = in /htdocs/vendor/joshcam/mysqli-database-class/MysqliDb.php:1996
Stack trace:
#0 /htdocs/vendor/joshcam/mysqli-database-class/MysqliDb.php(559): MysqliDb->_prepareQuery()
#1 /htdocs/vendor/joshcam/mysqli-database-class/MysqliDb.php(594): MysqliDb->rawQuery('SELECT sum(note...', NULL)
#2 /htdocs/fonction/fonctions.php(164): MysqliDb->rawQueryOne('SELECT sum(note...')
#3 /htdocs/jeux-de-societe/article.php(64): affichageMoyenne(NULL, 0, '')
#4 {main}
thrown in /htdocs/vendor/joshcam/mysqli-database-class/MysqliDb.php on line 1996