Notice: Undefined property: stdClass::$category_id_wrapper in /var/www/html/vietduconline/modules/news/controllers/news.php on line 31

Notice: Undefined property: stdClass::$category_id in /var/www/html/vietduconline/modules/news/controllers/news.php on line 35
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 2 in /var/www/html/vietduconline/libraries/CI/Database/MySQLi/Connection.php:331
Stack trace:
#0 /var/www/html/vietduconline/libraries/CI/Database/MySQLi/Connection.php(331): mysqli->query()
#1 /var/www/html/vietduconline/libraries/CI/Database/BaseConnection.php(739): CodeIgniter\Database\MySQLi\Connection->execute()
#2 /var/www/html/vietduconline/libraries/CI/Database/BaseConnection.php(667): CodeIgniter\Database\BaseConnection->simpleQuery()
#3 /var/www/html/vietduconline/libraries/fsmodels.php(374): CodeIgniter\Database\BaseConnection->query()
#4 /var/www/html/vietduconline/modules/news/controllers/news.php(35): FSModels->get_records()
#5 /var/www/html/vietduconline/libraries/functions.php(1199): NewsControllersNews->display()
#6 /var/www/html/vietduconline/index.php(293): call_module()
#7 /var/www/html/vietduconline/index.php(165): loadMainContent()
#8 {main}

Notice: Undefined property: stdClass::$news_related in /var/www/html/vietduconline/modules/news/controllers/news.php on line 40

Notice: Undefined property: stdClass::$category_id in /var/www/html/vietduconline/modules/news/controllers/news.php on line 42