A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/category.php

Line Number: 47

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/model_category.php

Line Number: 52

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/coffee/public_html/system/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 438

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 cpc.`prod_id`=cp.`id` and cp.`is_active`='1' group by cpc.`prod_id` order ' at line 1

SELECT cp.* FROM `cc_prod_cat` as cpc ,`cc_products` as cp where cpc.`cat_id` in() and cpc.`prod_id`=cp.`id` and cp.`is_active`='1' group by cpc.`prod_id` order by display_order >0 desc, display_order asc

Filename: /home/coffee/public_html/models/model_category.php

Line Number: 69