A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: main/detail-news.php

Line Number: 39

Backtrace:

File: /var/www/precena.co.id/public_html/application/views/main/detail-news.php
Line: 39
Function: _error_handler

File: /var/www/precena.co.id/public_html/application/views/main/template.php
Line: 21
Function: view

File: /var/www/precena.co.id/public_html/application/controllers/Main.php
Line: 165
Function: view

File: /var/www/precena.co.id/public_html/index.php
Line: 315
Function: require_once