Severity: Notice
Message: Undefined index: category_id
Filename: controllers/News.php
Line Number: 97
Backtrace:
File: /data/user/htdocs/application/client/controllers/News.php
Line: 97
Function: _error_handler
File: /data/user/htdocs/index.php
Line: 316
Function: require_once
Severity: Notice
Message: Undefined index: category_id
Filename: controllers/News.php
Line Number: 100
Backtrace:
File: /data/user/htdocs/application/client/controllers/News.php
Line: 100
Function: _error_handler
File: /data/user/htdocs/index.php
Line: 316
Function: require_once
Severity: Notice
Message: Undefined index: category_id
Filename: controllers/News.php
Line Number: 101
Backtrace:
File: /data/user/htdocs/application/client/controllers/News.php
Line: 101
Function: _error_handler
File: /data/user/htdocs/index.php
Line: 316
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /data/user/htdocs/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /data/user/htdocs/application/client/models/News_model.php
Line: 66
Function: get_where
File: /data/user/htdocs/application/client/controllers/News.php
Line: 103
Function: getPrv
File: /data/user/htdocs/index.php
Line: 316
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 'and `news`.`category_id` in () and `news`.`display` = 1 ORDER BY `news`.`id` AS' at line 4
SELECT `news`.`id`, `news`.`title`, `menu`.`html_path` FROM `news` JOIN `menu` ON `news`.`category_id` = `menu`.`id` WHERE `news`.`id` > and `news`.`category_id` in () and `news`.`display` = 1 ORDER BY `news`.`id` ASC
Filename: models/News_model.php
Line Number: 66