A PHP Error was encountered

Severity: Notice

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

Filename: attachment/Detail.php

Line Number: 12

Backtrace:

File: /home/xs453977/heartgrp.com/system/front/controllers/attachment/Detail.php
Line: 12
Function: _error_handler

File: /home/xs453977/heartgrp.com/public_html/index.php
Line: 316
Function: require_once