Whoops, looks like something went wrong.

1/1 ErrorException in EventController.php line 76: Trying to get property of non-object

  1. in EventController.php line 76
  2. at HandleExceptions->handleError('8', 'Trying to get property of non-object', '/var/www/tickets/app/Http/Controllers/Front/EventController.php', '76', array('event_slug' => 'carnavaliada-2018', 'event_id' => '628', 'schedule_id' => '0', 'event' => object(Event), 'selectedSchedule' => null)) in EventController.php line 76
  3. at EventController->show('carnavaliada-2018', '628', '0') in EventController.php line 61
  4. at EventController->showEvent('carnavaliada-2018', '628')
  5. at call_user_func_array(array(object(EventController), 'showEvent'), array('any' => 'carnavaliada-2018', 'event_id' => '628')) in compiled.php line 8873
  6. at Controller->callAction('showEvent', array('any' => 'carnavaliada-2018', 'event_id' => '628')) in compiled.php line 8942
  7. at ControllerDispatcher->call(object(EventController), object(Route), 'showEvent') in compiled.php line 8922
  8. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in compiled.php line 9584
  10. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AssetsMiddleware.php line 36
  11. at AssetsMiddleware->handle(object(Request), object(Closure), 'event.css')
  12. at call_user_func_array(array(object(AssetsMiddleware), 'handle'), array(object(Request), object(Closure), 'event.css')) in compiled.php line 9576
  13. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  14. at call_user_func(object(Closure), object(Request)) in compiled.php line 9566
  15. at Pipeline->then(object(Closure)) in compiled.php line 8923
  16. at ControllerDispatcher->callWithinStack(object(EventController), object(Route), object(Request), 'showEvent') in compiled.php line 8908
  17. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Front\EventController', 'showEvent') in compiled.php line 7862
  18. at Route->runWithCustomDispatcher(object(Request)) in compiled.php line 7833
  19. at Route->run(object(Request)) in compiled.php line 7486
  20. at Router->Illuminate\Routing\{closure}(object(Request))
  21. at call_user_func(object(Closure), object(Request)) in compiled.php line 9584
  22. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in PageCache.php line 37
  23. at PageCache->handle(object(Request), object(Closure))
  24. at call_user_func_array(array(object(PageCache), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  25. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Locale.php line 41
  26. at Locale->handle(object(Request), object(Closure))
  27. at call_user_func_array(array(object(Locale), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  28. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in HtmlVersionify.php line 21
  29. at HtmlVersionify->handle(object(Request), object(Closure))
  30. at call_user_func_array(array(object(HtmlVersionify), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  31. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  32. at call_user_func(object(Closure), object(Request)) in compiled.php line 9566
  33. at Pipeline->then(object(Closure)) in compiled.php line 7487
  34. at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 7475
  35. at Router->dispatchToRoute(object(Request)) in compiled.php line 7460
  36. at Router->dispatch(object(Request)) in compiled.php line 2304
  37. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  38. at call_user_func(object(Closure), object(Request)) in compiled.php line 9584
  39. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in SeoMiddleware.php line 33
  40. at SeoMiddleware->handle(object(Request), object(Closure))
  41. at call_user_func_array(array(object(SeoMiddleware), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  42. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in TrustProxies.php line 46
  43. at TrustProxies->handle(object(Request), object(Closure))
  44. at call_user_func_array(array(object(TrustProxies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  45. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Session.php line 43
  46. at Session->handle(object(Request), object(Closure))
  47. at call_user_func_array(array(object(Session), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  48. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2928
  49. at VerifyCsrfToken->handle(object(Request), object(Closure))
  50. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  51. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12912
  52. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  53. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  54. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11535
  55. at StartSession->handle(object(Request), object(Closure))
  56. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  57. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12653
  58. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  59. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  60. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12592
  61. at EncryptCookies->handle(object(Request), object(Closure))
  62. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  63. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2978
  64. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  65. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9576
  66. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  67. at call_user_func(object(Closure), object(Request)) in compiled.php line 9566
  68. at Pipeline->then(object(Closure)) in compiled.php line 2251
  69. at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2234
  70. at Kernel->handle(object(Request)) in index.php line 56