Whoops, looks like something went wrong.

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

  1. in ProductController.php line 91
  2. at HandleExceptions->handleError('8', 'Trying to get property of non-object', '/homepages/17/d490042979/htdocs/nuancesdefeu/laravel/app/Http/Controllers/ProductController.php', '91', array('slug_category' => 'foyer-a-bois', 'slug_product' => '55S3', 'lastId' => '303', 'product' => object(Product), 'temp_id' => '190', 'next_product' => null)) in ProductController.php line 91
  3. at ProductController->nextProduct('foyer-a-bois', '55S3')
  4. at call_user_func_array(array(object(ProductController), 'nextProduct'), array('slug_category' => 'foyer-a-bois', 'slug_product' => '55S3')) in Controller.php line 246
  5. at Controller->callAction('nextProduct', array('slug_category' => 'foyer-a-bois', 'slug_product' => '55S3')) in ControllerDispatcher.php line 162
  6. at ControllerDispatcher->call(object(ProductController), object(Route), 'nextProduct') in ControllerDispatcher.php line 107
  7. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  8. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  9. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  10. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  11. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 108
  12. at ControllerDispatcher->callWithinStack(object(ProductController), object(Route), object(Request), 'nextProduct') in ControllerDispatcher.php line 67
  13. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\ProductController', 'nextProduct') in Route.php line 204
  14. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  15. at Route->run(object(Request)) in Router.php line 701
  16. at Router->Illuminate\Routing\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  18. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  19. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  20. at Pipeline->then(object(Closure)) in Router.php line 703
  21. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670
  22. at Router->dispatchToRoute(object(Request)) in Router.php line 628
  23. at Router->dispatch(object(Request)) in Kernel.php line 214
  24. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  26. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 43
  27. at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 17
  28. at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 125
  29. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 55
  30. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
  31. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 61
  32. at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
  33. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 36
  34. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 125
  35. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 40
  36. at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 125
  37. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
  38. at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 125
  39. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  40. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  41. at Pipeline->then(object(Closure)) in Kernel.php line 115
  42. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 84
  43. at Kernel->handle(object(Request)) in index.php line 53