A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: sitio/producto.php

Line Number: 31