Whoops, looks like something went wrong.

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

  1. in PostController.php line 46
  2. at HandleExceptions->handleError('8', 'Trying to get property of non-object', '/home/zendendesigns/public_html/app/Http/Controllers/Frontend/PostController.php', '46', array('slug' => 'projects', 'posts' => object(Collection), 'post' => null)) in PostController.php line 46
  3. at PostController->getPostSingle('projects')
  4. at call_user_func_array(array(object(PostController), 'getPostSingle'), array('slug' => 'projects')) in Controller.php line 256
  5. at Controller->callAction('getPostSingle', array('slug' => 'projects')) in ControllerDispatcher.php line 164
  6. at ControllerDispatcher->call(object(PostController), object(Route), 'getPostSingle') in ControllerDispatcher.php line 112
  7. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  8. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  9. at Pipeline->Illuminate\Pipeline\{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 114
  12. at ControllerDispatcher->callWithinStack(object(PostController), object(Route), object(Request), 'getPostSingle') in ControllerDispatcher.php line 69
  13. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Frontend\PostController', 'getPostSingle') in Route.php line 203
  14. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  15. at Route->run(object(Request)) in Router.php line 708
  16. at Router->Illuminate\Routing\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  18. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  19. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  20. at Pipeline->then(object(Closure)) in Router.php line 710
  21. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 675
  22. at Router->dispatchToRoute(object(Request)) in Router.php line 635
  23. at Router->dispatch(object(Request)) in Kernel.php line 236
  24. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  26. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  27. at VerifyCsrfToken->handle(object(Request), object(Closure))
  28. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  29. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  30. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  31. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  32. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  33. at StartSession->handle(object(Request), object(Closure))
  34. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  35. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  36. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  37. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  38. at Pipeline->Illuminate\Pipeline\{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 124
  41. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  42. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  43. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  44. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  45. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  46. at Pipeline->then(object(Closure)) in Kernel.php line 122
  47. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  48. at Kernel->handle(object(Request)) in index.php line 54