exception 'ErrorException' with message 'Undefined offset: 0' in /var/www/vindecoderz/app/views/yearspec.php:20 Stack trace: #0 /var/www/vindecoderz/app/views/yearspec.php(20): exception_error_handler(8, 'Undefined offse...', '/var/www/vindec...', 20, Array) #1 /var/www/vindecoderz/bootstrap/compiled.php(9740): include('/var/www/vindec...') #2 /var/www/vindecoderz/bootstrap/compiled.php(9733): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/vindec...', Array) #3 /var/www/vindecoderz/bootstrap/compiled.php(9619): Illuminate\View\Engines\PhpEngine->get('/var/www/vindec...', Array) #4 /var/www/vindecoderz/bootstrap/compiled.php(9606): Illuminate\View\View->getContents() #5 /var/www/vindecoderz/bootstrap/compiled.php(9597): Illuminate\View\View->renderContents() #6 /var/www/vindecoderz/bootstrap/compiled.php(10295): Illuminate\View\View->render() #7 /var/www/vindecoderz/bootstrap/compiled.php(9826): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #8 /var/www/vindecoderz/bootstrap/compiled.php(5190): Symfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View)) #9 /var/www/vindecoderz/bootstrap/compiled.php(4998): Illuminate\Routing\Router->prepareResponse(Object(Illuminate\Http\Request), Object(Illuminate\View\View)) #10 /var/www/vindecoderz/bootstrap/compiled.php(4984): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #11 /var/www/vindecoderz/bootstrap/compiled.php(717): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #12 /var/www/vindecoderz/bootstrap/compiled.php(698): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #13 /var/www/vindecoderz/bootstrap/compiled.php(7706): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #14 /var/www/vindecoderz/bootstrap/compiled.php(8309): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #15 /var/www/vindecoderz/bootstrap/compiled.php(8256): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #16 /var/www/vindecoderz/bootstrap/compiled.php(10895): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #17 /var/www/vindecoderz/bootstrap/compiled.php(659): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #18 /var/www/vindecoderz/public/index.php(49): Illuminate\Foundation\Application->run() #19 {main} 500Error in exception handler.