A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: produtos/index_view.php

Line Number: 5

Backtrace:

File: /home/storage/2/66/ed/site1369148129/public_html/application/views/produtos/index_view.php
Line: 5
Function: _error_handler

File: /home/storage/2/66/ed/site1369148129/public_html/application/views/layout.php
Line: 3
Function: view

File: /home/storage/2/66/ed/site1369148129/public_html/application/controllers/Produtos.php
Line: 24
Function: view

File: /home/storage/2/66/ed/site1369148129/public_html/index.php
Line: 296
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: produtos/index_view.php

Line Number: 7

Backtrace:

File: /home/storage/2/66/ed/site1369148129/public_html/application/views/produtos/index_view.php
Line: 7
Function: _error_handler

File: /home/storage/2/66/ed/site1369148129/public_html/application/views/layout.php
Line: 3
Function: view

File: /home/storage/2/66/ed/site1369148129/public_html/application/controllers/Produtos.php
Line: 24
Function: view

File: /home/storage/2/66/ed/site1369148129/public_html/index.php
Line: 296
Function: require_once