ErrorException {#619
#message: "Trying to access array offset on value of type null"
#code: 0
#file: "C:\xampp7.4\htdocs\app\Http\Controllers\HomeController.php"
#line: 682
#severity: E_NOTICE
trace: {
C:\xampp7.4\htdocs\app\Http\Controllers\HomeController.php:682 {
App\Http\Controllers\HomeController->blog_page($id) …
› $blogdata_page = Blog::where("slug", $id)->first();\r
› $b_date = $blogdata_page["created_at"];\r
› $b_blog = explode(" ", $b_date);\r
arguments: {
$level: 8
$message: "Trying to access array offset on value of type null"
$file: "C:\xampp7.4\htdocs\app\Http\Controllers\HomeController.php"
$line: 682
$context: array:2 [ …2]
}
}
App\Http\Controllers\HomeController->blog_page() {}
C:\xampp7.4\htdocs\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
arguments: {
$function_name: array:2 [ …2]
$parameters: array:1 [ …1]
}
}
C:\xampp7.4\htdocs\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
arguments: {
$method: "blog_page"
$parameters: array:1 [ …1]
}
}
C:\xampp7.4\htdocs\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
arguments: {
$route: Illuminate\Routing\Route {#371 …}
$controller: App\Http\Controllers\HomeController {#523 …}
$method: "blog_page"
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Route.php:176 {
Illuminate\Routing\Route->run() …
› if ($this->isControllerAction()) {\r
› return $this->runController();\r
› }\r
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Router.php:682 {
Illuminate\Routing\Router->Illuminate\Routing\{closure} …
› return $this->prepareResponse(\r
› $request, $route->run()\r
› );\r
}
C:\xampp7.4\htdocs\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
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php:41 {
Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
› \r
› return $next($request);\r
› }\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php:49 {
Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
› \r
› return $next($request);\r
› }\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php:63 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
› \r
› $response = $next($request);\r
› \r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {\r
› $response = $next($request);\r
› \r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
› \r
› return $pipeline($this->passable);\r
› }\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Router.php:684 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );\r
› });\r
› }\r
arguments: {
$destination: Closure($request) {#533 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$route: Illuminate\Routing\Route {#371 …}
$request: Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$route: Illuminate\Routing\Route {#371 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Router.php:614 {
Illuminate\Routing\Router->dispatch(Request $request) …
› \r
› return $this->dispatchToRoute($request);\r
› }\r
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\vendor\fideloper\proxy\src\TrustProxies.php:57 {
Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
› \r
› return $next($request);\r
› }\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\vendor\dingo\api\src\Http\Middleware\Request.php:111 {
Dingo\Api\Http\Middleware\Request->handle($request, Closure $next) …
› \r
› return $next($request);\r
› }\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#503 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› \r
› return $callable($passable);\r
› } catch (Exception $e) {\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
› \r
› return $pipeline($this->passable);\r
› }\r
arguments: {
Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$destination: Closure($request) {#500 …}
}
}
C:\xampp7.4\htdocs\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
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
C:\xampp7.4\htdocs\index.php:55 {
› $response = $kernel->handle(\r
› $request = Illuminate\Http\Request::capture()\r
› );\r
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
}
}