think\exception\ErrorException {#106
  #message: "Trying to access array offset on null"
  #code: 0
  #file: "D:\wwwroot\xgfbdes\wwwroot\app\home\controller\Index.php"
  #line: 41
  #data: []
  #severity: 2
  trace: {
    D:\wwwroot\xgfbdes\wwwroot\app\home\controller\Index.php:41 {
      app\home\controller\Index->__call($name, $arguments) …
      › $findCate = ArticleCate::getCategoryById($cateId);$banner = Slider::getBannerByCateId($findCate['bg_id'],1);$lists = $pidTrees = null;
    }
    app\home\controller\Index->__call() {}
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\think-container\src\Container.php:349 {
      think\Container->invokeReflectMethod($instance, $reflect, array $vars = []) …
      › 
      ›     return $reflect->invokeArgs($instance, $args);}
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\route\Dispatch.php:190 {
      think\route\Dispatch->think\route\{closure} …
      › 
      › $data = $this->app->invokeReflectMethod($instance, $reflect, $vars);}
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {    return $destination($passable);} catch (Throwable | Exception $e) {
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\route\Dispatch.php:164 {
      think\route\Dispatch->responseWithMiddlewarePipeline($instance, $action) …
      › ->send($this->request)->then(function () use ($instance, $action) {    // 获取当前操作名
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\route\dispatch\Callback.php:111 {
      think\route\dispatch\Callback->exec() …
      › 
      ›     return $this->responseWithMiddlewarePipeline($instance, $this->action);            }
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\route\Dispatch.php:60 {
      think\route\Dispatch->run(): Response …
      › {    $data = $this->exec();    return $this->autoResponse($data);
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Route.php:717 {
      think\Route->think\{closure} …
      › ->then(function () use ($dispatch) {    return $dispatch->run();});
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {    return $destination($passable);} catch (Throwable | Exception $e) {
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Route.php:716 {
      think\Route->dispatch(Request $request, Closure|bool $withRoute = true) …
      › ->send($request)->then(function () use ($dispatch) {    return $dispatch->run();
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Http.php:208 {
      think\Http->dispatchToRoute($request) …
      › 
      ›     return $this->app->route->dispatch($request, $withRoute);}
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Http.php:198 {
      think\Http->think\{closure} …
      › ->then(function ($request) {    return $this->dispatchToRoute($request);});
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Pipeline.php:59 {
      think\Pipeline->think\{closure} …
      › try {    return $destination($passable);} catch (Throwable | Exception $e) {
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\think-multi-app\src\MultiApp.php:45 {
      think\app\MultiApp->handle($request, Closure $next) …
      › if (!$this->parseMultiApp()) {    return $next($request);}
    }
    think\app\MultiApp->handle() {}
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Middleware.php:134 {
      think\Middleware->think\{closure} …
      › }$response = call_user_func($call, $request, $next, ...$params);}
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {    return $pipe($passable, $stack);} catch (Throwable | Exception $e) {
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\middleware\SessionInit.php:58 {
      think\middleware\SessionInit->handle(Request $request, Closure $next): Response …
      › /** @var Response $response */$response = $next($request);}
    think\middleware\SessionInit->handle() {}
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Middleware.php:134 {
      think\Middleware->think\{closure} …
      › }$response = call_user_func($call, $request, $next, ...$params);}
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {    return $pipe($passable, $stack);} catch (Throwable | Exception $e) {
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\think-trace\src\TraceDebug.php:72 {
      think\trace\TraceDebug->handle($request, Closure $next) …
      › 
      › $response = $next($request);}
    think\trace\TraceDebug->handle() {}
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Middleware.php:134 {
      think\Middleware->think\{closure} …
      › }$response = call_user_func($call, $request, $next, ...$params);}
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Pipeline.php:85 {
      think\Pipeline->think\{closure} …
      › try {    return $pipe($passable, $stack);} catch (Throwable | Exception $e) {
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Pipeline.php:66 {
      think\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Http.php:197 {
      think\Http->runWithRequest(Request $request) …
      › ->send($request)->then(function ($request) {    return $this->dispatchToRoute($request);
    }
    D:\wwwroot\xgfbdes\wwwroot\vendor\topthink\framework\src\think\Http.php:162 {
      think\Http->run(?Request $request = null): Response …
      › try {    $response = $this->runWithRequest($request);} catch (Throwable $e) {
    }
    D:\wwwroot\xgfbdes\wwwroot\index.php:85 {
      › 
      › $response = $http->run();}
  }
}