Severity: Notice
Message: Undefined offset: 0
Filename: controllers/products.php
Line Number: 48
Message: Trying to get property of non-object