ErrorException {#595
#message: "Trying to access array offset on value of type null"
#code: 0
#file: "/var/www/vhosts/viratgroup.co/httpdocs/app/Http/Controllers/HomeController.php"
#line: 303
#severity: E_NOTICE
trace: {
/var/www/vhosts/viratgroup.co/httpdocs/app/Http/Controllers/HomeController.php:303 {
App\Http\Controllers\HomeController->blog_page($id) …
› $blogdata_page=Blog::where('slug',$id)->first();
› $b_date=$blogdata_page['created_at'];
› $b_blog=explode(' ',$b_date);
}
App\Http\Controllers\HomeController->blog_page() {}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
Illuminate\Routing\Controller->callAction($method, $parameters) …
› {\r
› return call_user_func_array([$this, $method], $parameters);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 {
Illuminate\Routing\ControllerDispatcher->dispatch(Route $route, $controller, $method) …
› if (method_exists($controller, 'callAction')) {\r
› return $controller->callAction($method, $parameters);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php:219 {
Illuminate\Routing\Route->runController() …
› return $this->controllerDispatcher()->dispatch(\r
› $this, $this->getController(), $this->getControllerMethod()\r
› );\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php:176 {
Illuminate\Routing\Route->run() …
› if ($this->isControllerAction()) {\r
› return $this->runController();\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:682 {
Illuminate\Routing\Router->Illuminate\Routing\{closure} …
› return $this->prepareResponse(\r
› $request, $route->run()\r
› );\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› try {\r
› return $destination($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
› \r
› return $next($request);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:75 {
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle($request, Closure $next) …
› ) {\r
› return tap($next($request), function ($response) use ($request) {\r
› if ($this->shouldAddXsrfTokenCookie()) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
› \r
› return $next($request);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
› \r
› $response = $next($request);\r
› \r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {\r
› $response = $next($request);\r
› \r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66 {
Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
› {\r
› return $this->encrypt($next($this->decrypt($request)));\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
› \r
› return $pipeline($this->passable);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:684 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );\r
› });\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:659 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,\r
› $this->runRouteWithinStack($route, $request)\r
› );\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {\r
› return $this->runRoute($request, $this->findRoute($request));\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:614 {
Illuminate\Routing\Router->dispatch(Request $request) …
› \r
› return $this->dispatchToRoute($request);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
› \r
› return $this->router->dispatch($request);\r
› };\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› try {\r
› return $destination($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/fideloper/proxy/src/TrustProxies.php:57 {
Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
› \r
› return $next($request);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next, ...$attributes) …
› \r
› return $next($request);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next, ...$attributes) …
› \r
› return $next($request);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
› \r
› return $next($request);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 {
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
› \r
› return $next($request);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/dingo/api/src/Http/Middleware/Request.php:111 {
Dingo\Api\Http\Middleware\Request->handle($request, Closure $next) …
› \r
› return $next($request);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)\r
› ? $pipe->{$this->method}(...$parameters)\r
› : $pipe(...$parameters);\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
› \r
› return $pipeline($this->passable);\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)\r
› ->then($this->dispatchToRouter());\r
› }\r
}
/var/www/vhosts/viratgroup.co/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
Illuminate\Foundation\Http\Kernel->handle($request) …
› \r
› $response = $this->sendRequestThroughRouter($request);\r
› } catch (Exception $e) {\r
}
/var/www/vhosts/viratgroup.co/httpdocs/index.php:55 {
› $response = $kernel->handle(\r
› $request = Illuminate\Http\Request::capture()\r
› );\r
}
}
}