A PHP Error was encountered

Severity: Notice

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

Filename: category/news.php

Line Number: 8

Backtrace:

File: /home2/shreegurugroup/medhacademy.com/application/views/pages/front/category/news.php
Line: 8
Function: _error_handler

File: /home2/shreegurugroup/medhacademy.com/application/core/MY_Controller.php
Line: 29
Function: view

File: /home2/shreegurugroup/medhacademy.com/application/controllers/FrontController.php
Line: 58
Function: getFrontLayout

File: /home2/shreegurugroup/medhacademy.com/index.php
Line: 316
Function: require_once