Illuminate\Database\Eloquent\ModelNotFoundException {#2497
#model: "App\Upseling"
#ids: array:1 [
0 => "4"
]
#message: "No query results for model [App\Upseling] 4"
#code: 0
#file: "/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php"
#line: 331
trace: {
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:331 {
Illuminate\Database\Eloquent\Builder->findOrFail($id, $columns = […1]) …
›
› throw (new ModelNotFoundException)->setModel(
› get_class($this->model), $id
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1570 {
Illuminate\Database\Eloquent\Model->__call($method, $parameters) …
›
› return $this->newQuery()->$method(...$parameters);
› }
arguments: {
$id: "4"
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1582 {
Illuminate\Database\Eloquent\Model::__callStatic($method, $parameters) …
› {
› return (new static)->$method(...$parameters);
› }
arguments: {
$method: "findOrFail"
$parameters: array:1 [ …1]
}
}
/data/var/www/academy.babastudio.com/techforid/app/Http/Controllers/UpselingController.php:137 {
App\Http\Controllers\UpselingController->frontDetail($id) …
› try {
› $course = Upseling::findOrFail($id);
› $relatedCourses = GetCollection::allCourses()
arguments: {
$method: "findOrFail"
$parameters: array:1 [ …1]
}
}
App\Http\Controllers\UpselingController->frontDetail() {}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
Illuminate\Routing\Controller->callAction($method, $parameters) …
› {
› return call_user_func_array([$this, $method], $parameters);
› }
arguments: {
$function_name: array:2 [ …2]
$parameters: array:1 [ …1]
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 {
Illuminate\Routing\ControllerDispatcher->dispatch(Route $route, $controller, $method) …
› if (method_exists($controller, 'callAction')) {
› return $controller->callAction($method, $parameters);
› }
arguments: {
$method: "frontDetail"
$parameters: array:1 [ …1]
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Route.php:212 {
Illuminate\Routing\Route->runController() …
› return $this->controllerDispatcher()->dispatch(
› $this, $this->getController(), $this->getControllerMethod()
› );
arguments: {
$route: Illuminate\Routing\Route {#1412 …}
$controller: App\Http\Controllers\UpselingController {#2318 …}
$method: "frontDetail"
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Route.php:169 {
Illuminate\Routing\Route->run() …
› if ($this->isControllerAction()) {
› return $this->runController();
› }
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Router.php:665 {
Illuminate\Routing\Router->Illuminate\Routing\{closure} …
› return $this->prepareResponse(
› $request, $route->run()
› );
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/app/Http/Middleware/MonitorLog.php:411 {
App\Http\Middleware\MonitorLog->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
›
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66 {
Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
› {
› return $this->encrypt($next($this->decrypt($request)));
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Router.php:667 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );
› });
› }
arguments: {
$destination: Closure($request) {#2319 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Router.php:642 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,
› $this->runRouteWithinStack($route, $request)
› );
arguments: {
$route: Illuminate\Routing\Route {#1412 …}
$request: Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Router.php:608 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {
› return $this->runRoute($request, $this->findRoute($request));
› }
arguments: {
$request: Illuminate\Http\Request {#42 …}
$route: Illuminate\Routing\Route {#1412 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Router.php:597 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
›
› return $this->router->dispatch($request);
› };
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next, ...$attributes) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next, ...$attributes) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 {
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Middleware.php:46 {
Sentry\Laravel\Tracing\Middleware->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#2286 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure($request) {#2283 …}
}
}
/data/var/www/academy.babastudio.com/techforid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
/data/var/www/academy.babastudio.com/techforid/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
}
}