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 3 in /usr/local/php/mysql_wrapper_for_php7.php:164
Stack trace:
#0 /usr/local/php/mysql_wrapper_for_php7.php(164): mysqli_query(Object(mysqli), 'SELECT item_id,...')
#1 /www/mse2020/html/news/news_archive/newslib.inc(111): mysql_query('SELECT item_id,...', Object(mysqli))
#2 /www/mse2020/html/news/news_archive/newslib.inc(629): nlib_db->get_item('')
#3 /www/mse2020/html/news/news_archive/collection/home.php(11): nlib_news->print_item('', '\n<div class="it...')
#4 /usr/local/php/PageBuilder/ContentObj.php(78): include('/www/mse2020/ht...')
#5 /usr/local/php/PageBuilder/ContentObj.php(31): contentObj->sourceFile('home.php', 1)
#6 /usr/local/php/PageBuilder/PageBuilder.php(159): contentObj->__construct(Object(pageObj), 1, 'home.php', 1)
#7 /www/mse2020/includes/brain.inc(138): pageObj->contentGet('home.php')
#8 /www/mse2020/html/news/news_archive/collection/index.php(3): require_once('/www/mse2020/in...')
#9 {main}
thrown in /usr/local/php/mysql_wrapper_for_php7.php on line 164