A PHP Error was encountered

Severity: Notice

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

Filename: product/index.php

Line Number: 6

Backtrace:

File: E:\Web\application\views\site\product\index.php
Line: 6
Function: _error_handler

File: E:\Web\application\views\site\layout.php
Line: 16
Function: view

File: E:\Web\application\controllers\Product.php
Line: 70
Function: view

File: E:\Web\index.php
Line: 292
Function: require_once