Illuminate\Database\Eloquent\ModelNotFoundException {#1913 // app/Http/Controllers/Client/BlogController.php:97
  #message: "No query results for model [App\Models\CategoryBlog]."
  #code: 0
  #file: "/var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php"
  #line: 617
  #model: "App\Models\CategoryBlog"
  #ids: []
  trace: {
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:617 {
      Illuminate\Database\Eloquent\Builder->firstOrFail($columns = […1]) …
      › 
      ›     throw (new ModelNotFoundException)->setModel(get_class($this->model));}
    }
    /var/www/html/code-market/vendor/cviebrock/eloquent-sluggable/src/SluggableScopeHelpers.php:84 {
      App\Models\CategoryBlog::findBySlugOrFail(string $slug, array $columns = […1]) …
      › {    return static::whereSlug($slug)->firstOrFail($columns);}
    }
    /var/www/html/code-market/app/Http/Controllers/Client/BlogController.php:67 {
      App\Http\Controllers\Client\BlogController->categories($slug, Request $request) …
      › 
      › $category = CategoryBlog::findBySlugOrFail($slug)->loadCount('blogs');}
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
      Illuminate\Routing\Controller->callAction($method, $parameters) …
      › {    return $this->{$method}(...array_values($parameters));}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43 {
      Illuminate\Routing\ControllerDispatcher->dispatch(Route $route, $controller, $method) …
      › if (method_exists($controller, 'callAction')) {    return $controller->callAction($method, $parameters);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Routing/Route.php:260 {
      Illuminate\Routing\Route->runController() …
      › return $this->controllerDispatcher()->dispatch(    $this, $this->getController(), $this->getControllerMethod());
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205 {
      Illuminate\Routing\Route->run() …
      › if ($this->isControllerAction()) {    return $this->runController();}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799 {
      Illuminate\Routing\Router->Illuminate\Routing\{closure} …
      › ->then(fn ($request) => $this->prepareResponse(    $request, $route->run()));
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › try {    return $destination($passable);} catch (Throwable $e) {
    }
    /var/www/html/code-market/app/Http/Middleware/GetCategories.php:48 {
      App\Http\Middleware\GetCategories->handle(Request $request, Closure $next): Response …
      › 
      ›     return $next($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50 {
      Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 {
      Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle($request, Closure $next) …
      › ) {    return tap($next($request), function ($response) use ($request) {        if ($this->shouldAddXsrfTokenCookie()) {
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
      Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 {
      Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Request $request, $session, Closure $next) …
      › 
      › $response = $next($request);}
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 {
      Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
      › 
      ›     return $this->handleStatefulRequest($request, $session, $next);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
      Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
      › {    $response = $next($request);}
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 {
      Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
      › {    return $this->encrypt($next($this->decrypt($request)));}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116 {
      Illuminate\Pipeline\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Routing/Router.php:800 {
      Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
      ›                         $request, $route->run()                    ));}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Routing/Router.php:777 {
      Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
      › return $this->prepareResponse($request,    $this->runRouteWithinStack($route, $request));
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Routing/Router.php:741 {
      Illuminate\Routing\Router->dispatchToRoute(Request $request) …
      › {    return $this->runRoute($request, $this->findRoute($request));}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Routing/Router.php:730 {
      Illuminate\Routing\Router->dispatch(Request $request) …
      › 
      ›     return $this->dispatchToRoute($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200 {
      Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
      › 
      ›     return $this->router->dispatch($request);};
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › try {    return $destination($passable);} catch (Throwable $e) {
    }
    /var/www/html/code-market/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:59 {
      Barryvdh\Debugbar\Middleware\InjectDebugbar->handle($request, Closure $next) …
      › if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) {    return $next($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
      Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31 {
      Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle($request, Closure $next) …
      › 
      ›     return parent::handle($request, $next);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
      Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40 {
      Illuminate\Foundation\Http\Middleware\TrimStrings->handle($request, Closure $next) …
      › 
      ›     return parent::handle($request, $next);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
      Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86 {
      Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49 {
      Illuminate\Http\Middleware\HandleCors->handle($request, Closure $next) …
      › if (! $this->hasMatchingPath($request)) {    return $next($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39 {
      Illuminate\Http\Middleware\TrustProxies->handle(Request $request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116 {
      Illuminate\Pipeline\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175 {
      Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
      ›                 ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)                ->then($this->dispatchToRouter());}
    }
    /var/www/html/code-market/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144 {
      Illuminate\Foundation\Http\Kernel->handle($request) …
      › 
      ›     $response = $this->sendRequestThroughRouter($request);} catch (Throwable $e) {
    }
    /var/www/html/code-market/public/index.php:52 {$response = $kernel->handle(    $request = Request::capture())->send();
    }
  }
}
giaodichcode.com - 404 Concept Page

404

Trang không tồn tại

We're fairly sure that page used to be here, but seems to have gone missing. We do apologise on it's behalf.

Trang chủ