A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: newsroom/single_post_view.php

Line Number: 14

Backtrace:

File: C:\xampp\htdocs\msi\application\views\newsroom\single_post_view.php
Line: 14
Function: _error_handler

File: C:\xampp\htdocs\msi\application\views\newsroom\main_view.php
Line: 39
Function: view

File: C:\xampp\htdocs\msi\application\controllers\newsroom.php
Line: 40
Function: view

File: C:\xampp\htdocs\msi\index.php
Line: 316
Function: require_once