Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/News.php
Line Number: 59
Backtrace:
File: /var/www/newxc/newxc2021/home/controllers/News.php
Line: 59
Function: _error_handler
File: /var/www/newxc/newxc2021/index.php
Line: 317
Function: require_once
Error Number: 1064
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
select count(*) as count from news_list where `type` in ()
Filename: models/News_model.php
Line Number: 52