A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 117

Backtrace:

File: /home/k6847648/public_html/application/controllers/Product.php
Line: 117
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: 118

Backtrace:

File: /home/k6847648/public_html/application/controllers/Product.php
Line: 118
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/Product_mdl.php
Line: 25
Function: query

File: /home/k6847648/public_html/application/controllers/Product.php
Line: 121
Function: edit

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_product WHERE product_id =

Filename: models/Product_mdl.php

Line Number: 25