A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/Uses.php

Line Number: 89

Backtrace:

File: /data/home/qxu1194030080/htdocs/en/application/client/controllers/Uses.php
Line: 89
Function: _error_handler

File: /data/home/qxu1194030080/htdocs/en/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/Uses.php

Line Number: 92

Backtrace:

File: /data/home/qxu1194030080/htdocs/en/application/client/controllers/Uses.php
Line: 92
Function: _error_handler

File: /data/home/qxu1194030080/htdocs/en/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/Uses.php

Line Number: 93

Backtrace:

File: /data/home/qxu1194030080/htdocs/en/application/client/controllers/Uses.php
Line: 93
Function: _error_handler

File: /data/home/qxu1194030080/htdocs/en/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /data/home/qxu1194030080/htdocs/en/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /data/home/qxu1194030080/htdocs/en/application/client/models/Uses_model.php
Line: 73
Function: get_where

File: /data/home/qxu1194030080/htdocs/en/application/client/controllers/Uses.php
Line: 95
Function: getPrv

File: /data/home/qxu1194030080/htdocs/en/index.php
Line: 316
Function: require_once

Database Error

A Database Error Occurred

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 `en_uses`.`display` = 1 ORDER BY `en_uses`.`id` ASC' at line 4

SELECT `en_uses`.`id`, `en_uses`.`title`, `en_menu`.`html_path` FROM `en_uses` JOIN `en_menu` ON `en_uses`.`category_id` = `en_menu`.`id` WHERE `en_uses`.`id` > `uploads` and `en_uses`.`category_id` in () and `en_uses`.`display` = 1 ORDER BY `en_uses`.`id` ASC

Filename: models/Uses_model.php

Line Number: 73