A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/main-view.php

Line Number: 78

Backtrace:

File: /var/www/html/homepage/modules/news/views/main-view.php
Line: 78
Function: _error_handler

File: /var/www/html/homepage/third_party/MX/Loader.php
Line: 357
Function: include

File: /var/www/html/homepage/third_party/MX/Loader.php
Line: 300
Function: _ci_load

File: /var/www/html/homepage/modules/news/controllers/News.php
Line: 23
Function: view

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