Fatal error: Uncaught mysqli_sql_exception: 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 ') AND avis_type = 1
GROUP BY id_avis' at line 3 in /home/mylene/www/class/MyleneSimpleConnexion.php:41
Stack trace:
#0 /home/mylene/www/class/MyleneSimpleConnexion.php(41): mysqli_query(Object(mysqli), 'SELECT id_avis,...')
#1 /home/mylene/www/class/MyleneAbstractConnexion.php(69): MyleneSimpleConnexion->query('SELECT id_avis,...')
#2 /home/mylene/www/functions/likehate.php(59): MyleneAbstractConnexion->results('SELECT id_avis,...', Array)
#3 /home/mylene/www/class/collection_avis.class.php(64): getLikesFor(Array, 'article', Object(MyleneSimpleConnexion))
#4 /home/mylene/www/functions/avis_crud.php(114): collection_avis->retrieveLikeHates()
#5 /home/mylene/www/functions/avis_display.php(150): loadArticleAvisCollection('3277', 0, 0, 10, false, Object(MyleneSimpleConnexion))
#6 /home/mylene/www/functions/avis_display.php(19): displayUserComments(Object(MyleneSimpleConnexion), 'Anonyme', '3277', 'article', 0, 10, false)
#7 /home/mylene/www/modules/index.php(301): displayAvisBlockFull(Object(MyleneSimpleConnexion), 'Anonyme', '3277', '4', 'Y')
#8 {main}
thrown in /home/mylene/www/class/MyleneSimpleConnexion.php on line 41