Warning: Trying to access array offset on value of type null in /home/unavhgz/www-snacking/actualites-snacking/index.php on line 40

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 ')' at line 1 in /home/unavhgz/www-snacking/actualites-snacking/index.php:54 Stack trace: #0 /home/unavhgz/www-snacking/actualites-snacking/index.php(54): mysqli->query('SELECT news_id ...') #1 {main} thrown in /home/unavhgz/www-snacking/actualites-snacking/index.php on line 54