A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'NAME' of non-object

Filename: models/Sub_model.php

Line Number: 201

Backtrace:

File: /var/www/html/home_ex/blog/application/models/Sub_model.php
Line: 201
Function: _error_handler

File: /var/www/html/home_ex/blog/application/controllers/Topic.php
Line: 85
Function: get_name_cate

File: /var/www/html/home_ex/blog/index.php
Line: 315
Function: require_once

- Blog NSTRU