Severity: Notice
Message: Undefined index: category_id
Filename: controllers/Cases.php
Line Number: 113
Backtrace:
File: /data/user/htdocs/application/client/controllers/Cases.php
Line: 113
Function: _error_handler
File: /data/user/htdocs/index.php
Line: 316
Function: require_once
Severity: Notice
Message: Undefined index: category_id
Filename: controllers/Cases.php
Line Number: 116
Backtrace:
File: /data/user/htdocs/application/client/controllers/Cases.php
Line: 116
Function: _error_handler
File: /data/user/htdocs/index.php
Line: 316
Function: require_once
Severity: Notice
Message: Undefined index: category_id
Filename: controllers/Cases.php
Line Number: 117
Backtrace:
File: /data/user/htdocs/application/client/controllers/Cases.php
Line: 117
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/Cases_model.php
Line: 73
Function: get_where
File: /data/user/htdocs/application/client/controllers/Cases.php
Line: 119
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 `cases`.`category_id` in () and `cases`.`display` = 1 ORDER BY `cases`.`id`' at line 4
SELECT `cases`.`id`, `cases`.`title`, `menu`.`html_path` FROM `cases` JOIN `menu` ON `cases`.`category_id` = `menu`.`id` WHERE `cases`.`id` > and `cases`.`category_id` in () and `cases`.`display` = 1 ORDER BY `cases`.`id` ASC
Filename: models/Cases_model.php
Line Number: 73