A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 61

Backtrace:

File: /home/k6847648/public_html/application/controllers/Product.php
Line: 61
Function: _error_handler

File: /home/k6847648/public_html/index.php
Line: 629
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 62

Backtrace:

File: /home/k6847648/public_html/application/controllers/Product.php
Line: 62
Function: _error_handler

File: /home/k6847648/public_html/index.php
Line: 629
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 1127

Backtrace:

File: /home/k6847648/public_html/application/models/Category_eng_mdl.php
Line: 20
Function: query

File: /home/k6847648/public_html/application/controllers/Product.php
Line: 65
Function: edit_by_cat_id

File: /home/k6847648/public_html/index.php
Line: 629
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 '' at line 1

SELECT * FROM tbl_category_eng WHERE cat_id =

Filename: models/Category_eng_mdl.php

Line Number: 20