Whoops, looks like something went wrong.

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

  1. in SpecialitiesController.php line 60
  2. at HandleExceptions->handleError('8', 'Trying to get property of non-object', '/home/nayatihealth/public_html/app/Http/Controllers/Web/SpecialitiesController.php', '60', array('hospital' => null, 'specialitySlug' => 'emergency-medicine-trauma', 'data' => array('my_hospital_id' => '0', 'hospital' => null, 'center_of_excellence' => false), 'hospital_iddd' => '0', 'speciality' => null, 'speciality_id' => '0')) in SpecialitiesController.php line 60
  3. at SpecialitiesController->show(null)
  4. at call_user_func_array(array(object(SpecialitiesController), 'show'), array('specialitySlug' => 'emergency-medicine-trauma')) in compiled.php line 9405
  5. at Controller->callAction('show', array('specialitySlug' => 'emergency-medicine-trauma')) in compiled.php line 9432
  6. at ControllerDispatcher->dispatch(object(Route), object(SpecialitiesController), 'show') in compiled.php line 8486
  7. at Route->runController() in compiled.php line 8467
  8. at Route->run(object(Request)) in compiled.php line 8176
  9. at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
  10. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 9998
  11. at SubstituteBindings->handle(object(Request), object(Closure)) in compiled.php line 9890
  12. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  13. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3158
  14. at VerifyCsrfToken->handle(object(Request), object(Closure)) in compiled.php line 9890
  15. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  16. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13504
  17. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in compiled.php line 9890
  18. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  19. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 11930
  20. at StartSession->handle(object(Request), object(Closure)) in compiled.php line 9890
  21. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  22. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13250
  23. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in compiled.php line 9890
  24. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  25. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13187
  26. at EncryptCookies->handle(object(Request), object(Closure)) in compiled.php line 9890
  27. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  28. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 9875
  29. at Pipeline->then(object(Closure)) in compiled.php line 8177
  30. at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 8168
  31. at Router->dispatchToRoute(object(Request)) in compiled.php line 8159
  32. at Router->dispatch(object(Request)) in compiled.php line 2472
  33. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
  34. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in RemoteValidationMiddleware.php line 54
  35. at RemoteValidationMiddleware->handle(object(Request), object(Closure)) in compiled.php line 9890
  36. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  37. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3220
  38. at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in compiled.php line 9890
  39. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  40. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 9875
  41. at Pipeline->then(object(Closure)) in compiled.php line 2416
  42. at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2400
  43. at Kernel->handle(object(Request)) in index.php line 53