A PHP Error was encountered

Severity: Warning

Message: Undefined property: CI::$db

Filename: core/Model.php

Line Number: 81

Backtrace:

File: /var/www/html/application/modules/category/models/Category_model.php
Line: 552
Function: __get

File: /var/www/html/application/modules/category/controllers/Category.php
Line: 359
Function: categoryFindSlug

File: /var/www/html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

An uncaught Exception was encountered

Type: Error

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

Filename: /var/www/html/application/modules/category/models/Category_model.php

Line Number: 552

Backtrace:

File: /var/www/html/application/modules/category/controllers/Category.php
Line: 359
Function: categoryFindSlug

File: /var/www/html/index.php
Line: 292
Function: require_once