A PHP Error was encountered

Severity: Notice

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

Filename: controllers/home.php

Line Number: 107