A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/main_controller.php

Line Number: 364