Illuminate\Database\Eloquent\ModelNotFoundException {#1824
#model: "App\Page"
#ids: []
#message: "No query results for model [App\Page]."
#code: 0
#file: "/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php"
#line: 503
trace: {
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:503 {
Illuminate\Database\Eloquent\Builder->firstOrFail($columns = […1]) …
›
› throw (new ModelNotFoundException)->setModel(get_class($this->model));
› }
}
/home2/first4com/public_html/app/Http/Controllers/Front/PageController.php:20 {
App\Http\Controllers\Front\PageController->index($page) …
›
› "in App\Http\Controllers\Front\PageController->index($page)
"
›
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
Illuminate\Routing\Controller->callAction($method, $parameters) …
› {
› return $this->{$method}(...array_values($parameters));
› }
arguments: {
$page: "product-category"
}
}
/home2/first4com/public_html/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: "index"
$parameters: array:1 [ …1]
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:254 {
Illuminate\Routing\Route->runController() …
› return $this->controllerDispatcher()->dispatch(
› $this, $this->getController(), $this->getControllerMethod()
› );
arguments: {
$route: Illuminate\Routing\Route {#1543 …}
$controller: App\Http\Controllers\Front\PageController {#1566 …}
$method: "index"
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:197 {
Illuminate\Routing\Route->run() …
› if ($this->isControllerAction()) {
› return $this->runController();
› }
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:693 {
Illuminate\Routing\Router->Illuminate\Routing\{closure} …
› return $this->prepareResponse(
› $request, $route->run()
› );
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/app/Http/Controllers/Controller.php:85 {
App\Http\Controllers\Controller->App\Http\Controllers\{closure} …
› \r
› return $next($request);\r
› });\r
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› // the appropriate method and arguments, returning the results back out.
› return $pipe($passable, $stack);
› } elseif (! is_object($pipe)) {
arguments: {
Illuminate\Http\Request {#43 …}
Closure($passable) {#1772 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50 {
Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/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()) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/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 {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 {
Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Request $request, $session, Closure $next) …
›
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
› } else {
› return $this->handleStatefulRequest($request, $session, $next);
› }
arguments: {
$request: Illuminate\Http\Request {#43 …}
$session: Illuminate\Session\Store {#1787 …}
$next: Closure($passable) {#1776 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/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 {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/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)));
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:695 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );
› });
› }
arguments: {
$destination: Closure($request) {#1771 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:670 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,
› $this->runRouteWithinStack($route, $request)
› );
arguments: {
$route: Illuminate\Routing\Route {#1543 …}
$request: Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:636 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {
› return $this->runRoute($request, $this->findRoute($request));
› }
arguments: {
$request: Illuminate\Http\Request {#43 …}
$route: Illuminate\Routing\Route {#1543 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:166 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
›
› return $this->router->dispatch($request);
› };
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57 {
Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/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 {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86 {
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1550 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:141 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure($request) {#1547 …}
}
}
/home2/first4com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Throwable $e) {
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
/home2/first4com/public_html/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
}
}