Whoops, looks like something went wrong.

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

  1. in HomeController.php line 470
  2. at HandleExceptions->handleError('8', 'Trying to get property of non-object', '/home2/ic44d/public_html/test/app/Http/Controllers/HomeController.php', '470', array('id' => '106', 'main3' => '1', 'product_data' => null)) in HomeController.php line 470
  3. at HomeController->Product()
  4. at call_user_func_array(array(object(HomeController), 'Product'), array()) in Controller.php line 256
  5. at Controller->callAction('Product', array()) in ControllerDispatcher.php line 164
  6. at ControllerDispatcher->call(object(HomeController), object(Route), 'Product') 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(HomeController), object(Route), object(Request), 'Product') in ControllerDispatcher.php line 69
  13. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\HomeController', 'Product') 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 712
  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 714
  21. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 679
  22. at Router->dispatchToRoute(object(Request)) in Router.php line 639
  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 42
  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