A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/welcome.php

Line Number: 37

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/welcome.php

Line Number: 37