A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: frontend/category.php

Line Number: 29

Backtrace:

File: /home/aynanews24/public_html/application/views/frontend/category.php
Line: 29
Function: _error_handler

File: /home/aynanews24/public_html/application/views/frontend/welcome.php
Line: 207
Function: view

File: /home/aynanews24/public_html/application/controllers/News.php
Line: 170
Function: view

File: /home/aynanews24/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/News_model.php

Line Number: 28

Backtrace:

File: /home/aynanews24/public_html/application/models/News_model.php
Line: 28
Function: _error_handler

File: /home/aynanews24/public_html/application/controllers/News.php
Line: 153
Function: get_category_news

File: /home/aynanews24/public_html/index.php
Line: 318
Function: require_once