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:43
Stack trace:
#0 /home/mylene/www/class/MyleneSimpleConnexion.php(43): 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(5016, 0, 0, 10, false, Object(MyleneSimpleConnexion))
#6 /home/mylene/www/functions/avis_display.php(19): displayUserComments(Object(MyleneSimpleConnexion), 'Anonyme', 5016, 'article', 0, 10, false)
#7 /home/mylene/www/functions/news.php(448): displayAvisBlockFull(Object(MyleneSimpleConnexion), 'Anonyme', 5016, 981, 'Y')
#8 /home/mylene/www/modules/index.php(281): displayClip1262Layout(Object(MyleneSimpleConnexion), Array, 981, 'Anonyme')
#9 {main}
thrown in /home/mylene/www/class/MyleneSimpleConnexion.php on line 43