ErrorException: Trying to get property of non-object in /home/lenmec/jerhelplastics.com/app/routes.php:166 Stack trace: #0 /home/lenmec/jerhelplastics.com/app/routes.php(166): Illuminate\Exception\Handler->handleError(8, 'Trying to get p...', '/home/lenmec/je...', 166, Array) #1 [internal function]: {closure}('<%= product_id ...') #2 /home/lenmec/jerhelplastics.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php(80): call_user_func_array(Object(Closure), Array) #3 /home/lenmec/jerhelplastics.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php(47): Illuminate\Routing\Route->callCallable() #4 /home/lenmec/jerhelplastics.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1016): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) #5 /home/lenmec/jerhelplastics.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(576): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #6 /home/lenmec/jerhelplastics.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(552): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #7 /home/lenmec/jerhelplastics.com/public/index.php(49): Illuminate\Foundation\Application->run() #8 {main}