Whoops, looks like something went wrong.

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

  1. in PlacesController.php line 101
  2. at HandleExceptions->handleError('8', 'Trying to get property of non-object', '/home/travall/public_html/app/Http/Controllers/Front/PlacesController.php', '101', array('location' => 'dubai', 'slug' => 'food-drink', 'request' => object(Request), 'categorySlug' => 'food-drink', 'assetData' => null, 'locationUrl' => 'dubai', 'ratingCount' => '0', 'ratingAvg' => '0')) in PlacesController.php line 101
  3. at PlacesController->single('dubai', 'food-drink', object(Request))
  4. at call_user_func_array(array(object(PlacesController), 'single'), array('location' => 'dubai', 'slug' => 'food-drink', object(Request))) in Controller.php line 80
  5. at Controller->callAction('single', array('location' => 'dubai', 'slug' => 'food-drink', object(Request))) in ControllerDispatcher.php line 146
  6. at ControllerDispatcher->call(object(PlacesController), object(Route), 'single') in ControllerDispatcher.php line 94
  7. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  8. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  9. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  10. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  11. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 96
  12. at ControllerDispatcher->callWithinStack(object(PlacesController), object(Route), object(Request), 'single') in ControllerDispatcher.php line 54
  13. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Front\PlacesController', 'single') in Route.php line 174
  14. at Route->runController(object(Request)) in Route.php line 140
  15. at Route->run(object(Request)) in Router.php line 724
  16. at Router->Illuminate\Routing\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  18. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
  19. at VerifyCsrfToken->handle(object(Request), object(Closure))
  20. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  21. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  22. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  23. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  24. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  25. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  26. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  27. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  28. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  29. at StartSession->handle(object(Request), object(Closure))
  30. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  31. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  32. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  33. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  34. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  35. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  36. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  37. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  38. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  39. at EncryptCookies->handle(object(Request), object(Closure))
  40. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  41. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  42. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  43. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
  44. at VerifyCsrfToken->handle(object(Request), object(Closure))
  45. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  46. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  47. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  48. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  49. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  50. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  51. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  52. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  53. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  54. at StartSession->handle(object(Request), object(Closure))
  55. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  56. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  57. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  58. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  59. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  60. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  61. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  62. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  63. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  64. at EncryptCookies->handle(object(Request), object(Closure))
  65. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  66. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  67. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  68. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  69. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  70. at Pipeline->then(object(Closure)) in Router.php line 726
  71. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
  72. at Router->dispatchToRoute(object(Request)) in Router.php line 675
  73. at Router->dispatch(object(Request)) in Kernel.php line 246
  74. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  75. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  76. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  77. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  78. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  79. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  80. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  81. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  82. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  83. at Pipeline->then(object(Closure)) in Kernel.php line 132
  84. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  85. at Kernel->handle(object(Request)) in index.php line 54