Undefined array key 0 (View: /var/www/ces-website/resources/views/thesis/index.blade.php)