Illuminate\Database\Eloquent\ModelNotFoundException: No query results for model [App\Models\Image]. in /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/illuminate/database/Eloquent/Builder.php:395 Stack trace: #0 /var/www/elenafurs/data/www/z.elenafurs.ru/app/Controllers/ImageController.php(68): Illuminate\Database\Eloquent\Builder->firstOrFail() #1 [internal function]: App\Controllers\ImageController->show(Object(Slim\Http\Request), Object(Slim\Http\Response), Array) #2 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array) #3 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/Route.php(335): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array) #4 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response)) #5 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/Route.php(313): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response)) #6 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/App.php(513): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response)) #7 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/http-cache/src/Cache.php(55): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response)) #8 [internal function]: Slim\HttpCache\Cache->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App)) #9 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Slim\HttpCache\Cache), Array) #10 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App)) #11 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App)) #12 /var/www/elenafurs/data/www/z.elenafurs.ru/bootstrap/bootstrap.php(45): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response)) #13 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) #14 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array) #15 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) #16 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) #17 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response)) #18 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/App.php(406): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response)) #19 /var/www/elenafurs/data/www/z.elenafurs.ru/vendor/slim/slim/Slim/App.php(314): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response)) #20 /var/www/elenafurs/data/www/z.elenafurs.ru/public/index.php(4): Slim\App->run() #21 /var/www/elenafurs/data/www/z.elenafurs.ru/index.php(11): require_once('/var/www/elenaf...') #22 {main}