Whoops, looks like something went wrong.

2/2 ErrorException in Helpers.php line 150: Undefined offset: 0 (View: /var/www/html/ic24.kz/resources/views/index/news/news.blade.php)

  1. in Helpers.php line 150
  2. at CompilerEngine->handleViewException(object(ErrorException), '1') in PhpEngine.php line 44
  3. at PhpEngine->evaluatePath('/var/www/html/ic24.kz/storage/framework/views/4f9151d9d21c90b01aa33810b8a14bbd83097c4d.php', array('__env' => object(Factory), 'app' => object(Application), 'lang' => 'ru', 'breaking_news' => object(Collection), 'menu' => '', 'region' => object(Collection), 'category_news' => object(Collection), 'city_id' => '5205', 'errors' => object(ViewErrorBag), 'row' => object(LengthAwarePaginator), 'category' => null, 'main_news' => object(Collection), 'tag' => 'новорожденные')) in CompilerEngine.php line 59
  4. at CompilerEngine->get('/var/www/html/ic24.kz/resources/views/index/news/news.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'lang' => 'ru', 'breaking_news' => object(Collection), 'menu' => '', 'region' => object(Collection), 'category_news' => object(Collection), 'city_id' => '5205', 'errors' => object(ViewErrorBag), 'row' => object(LengthAwarePaginator), 'category' => null, 'main_news' => object(Collection), 'tag' => 'новорожденные')) in View.php line 149
  5. at View->getContents() in View.php line 120
  6. at View->renderContents() in View.php line 85
  7. at View->render() in Response.php line 45
  8. at Response->setContent(object(View)) in Response.php line 201
  9. at Response->__construct(object(View)) in Router.php line 1028
  10. at Router->prepareResponse(object(Request), object(View)) in Router.php line 654
  11. at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
  12. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41
  13. at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
  14. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  15. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65
  16. at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
  17. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  18. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  19. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
  20. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  21. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  22. at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
  23. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  24. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  25. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
  26. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  27. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  28. at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
  29. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  30. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
  31. at Pipeline->then(object(Closure)) in Router.php line 655
  32. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
  33. at Router->dispatchToRoute(object(Request)) in Router.php line 607
  34. at Router->dispatch(object(Request)) in Kernel.php line 268
  35. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
  36. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
  37. at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
  38. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  39. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
  40. at Pipeline->then(object(Closure)) in Kernel.php line 150
  41. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
  42. at Kernel->handle(object(Request)) in index.php line 54

1/2 ErrorException in Helpers.php line 150: Undefined offset: 0

  1. in Helpers.php line 150
  2. at HandleExceptions->handleError('8', 'Undefined offset: 0', '/var/www/html/ic24.kz/app/Helpers.php', '150', array('number' => '00', 'monthAr' => array(array('Январь', 'Января'), array('Февраль', 'Февраля'), array('Март', 'Марта'), array('Апрель', 'Апреля'), array('Май', 'Мая'), array('Июнь', 'Июня'), array('Июль', 'Июля'), array('Август', 'Августа'), array('Сентябрь', 'Сентября'), array('Октябрь', 'Октября'), array('Ноябрь', 'Ноября'), array('Декабрь', 'Декабря')))) in Helpers.php line 150
  3. at Helpers::getMonthName('00') in 4f9151d9d21c90b01aa33810b8a14bbd83097c4d.php line 144
  4. at include('/var/www/html/ic24.kz/storage/framework/views/4f9151d9d21c90b01aa33810b8a14bbd83097c4d.php') in PhpEngine.php line 42
  5. at PhpEngine->evaluatePath('/var/www/html/ic24.kz/storage/framework/views/4f9151d9d21c90b01aa33810b8a14bbd83097c4d.php', array('__env' => object(Factory), 'app' => object(Application), 'lang' => 'ru', 'breaking_news' => object(Collection), 'menu' => '', 'region' => object(Collection), 'category_news' => object(Collection), 'city_id' => '5205', 'errors' => object(ViewErrorBag), 'row' => object(LengthAwarePaginator), 'category' => null, 'main_news' => object(Collection), 'tag' => 'новорожденные')) in CompilerEngine.php line 59
  6. at CompilerEngine->get('/var/www/html/ic24.kz/resources/views/index/news/news.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'lang' => 'ru', 'breaking_news' => object(Collection), 'menu' => '', 'region' => object(Collection), 'category_news' => object(Collection), 'city_id' => '5205', 'errors' => object(ViewErrorBag), 'row' => object(LengthAwarePaginator), 'category' => null, 'main_news' => object(Collection), 'tag' => 'новорожденные')) in View.php line 149
  7. at View->getContents() in View.php line 120
  8. at View->renderContents() in View.php line 85
  9. at View->render() in Response.php line 45
  10. at Response->setContent(object(View)) in Response.php line 201
  11. at Response->__construct(object(View)) in Router.php line 1028
  12. at Router->prepareResponse(object(Request), object(View)) in Router.php line 654
  13. at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
  14. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41
  15. at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
  16. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  17. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65
  18. at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
  19. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  20. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  21. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
  22. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  23. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  24. at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
  25. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  26. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  27. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
  28. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  29. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  30. at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
  31. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  32. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
  33. at Pipeline->then(object(Closure)) in Router.php line 655
  34. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
  35. at Router->dispatchToRoute(object(Request)) in Router.php line 607
  36. at Router->dispatch(object(Request)) in Kernel.php line 268
  37. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
  38. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
  39. at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
  40. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  41. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
  42. at Pipeline->then(object(Closure)) in Kernel.php line 150
  43. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
  44. at Kernel->handle(object(Request)) in index.php line 54