Fatal error: Uncaught 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 n.id != 1
AND n.status = 'published'
...' at line 4 in /home/u750269652/domains/ghf.or.tz/public_html/includes/database.php:29
Stack trace:
#0 /home/u750269652/domains/ghf.or.tz/public_html/includes/database.php(29): mysqli->query()
#1 /home/u750269652/domains/ghf.or.tz/public_html/news-single.php(44): Database->query()
#2 {main}
thrown in /home/u750269652/domains/ghf.or.tz/public_html/includes/database.php on line 29