A PHP Error was encountered

Severity: Notice

Message: Undefined variable: query

Filename: models/Model_product.php

Line Number: 146

Backtrace:

File: /home/compacpaint/public_html/application/models/Model_product.php
Line: 146
Function: _error_handler

File: /home/compacpaint/public_html/application/controllers/Product.php
Line: 67
Function: get_cate

File: /home/compacpaint/public_html/index.php
Line: 316
Function: require_once


Fatal error: Call to a member function num_rows() on null in /home/compacpaint/public_html/application/models/Model_product.php on line 146

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

A PHP Error was encountered

Severity: Error

Message: Call to a member function num_rows() on null

Filename: models/Model_product.php

Line Number: 146

Backtrace: