Undefined offset: 0
/www/wwwroot/lzyingyu.com/app/lzyingyu/controller/PostController.php
50
0
        $type = $tag['type'] ?? "";
        $url = $this->request->url();
        $channel = $this->channels[0];
        foreach ($this->channels as $cha) {



#0 /www/wwwroot/lzyingyu.com/app/lzyingyu/controller/PostController.php(50): think\initializer\Error->appError()
#1 /www/wwwroot/lzyingyu.com/app/lzyingyu/controller/PostController.php(44): app\lzyingyu\controller\PostController->autoSeo()
#2 /www/wwwroot/lzyingyu.com/app/BaseController.php(58): app\lzyingyu\controller\PostController->initialize()
#3 [internal function]: app\BaseController->__construct()
#4 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Container.php(391): ReflectionClass->newInstanceArgs()
#5 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Container.php(250): think\Container->invokeClass()
#6 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php(173): think\Container->make()
#7 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php(74): think\route\dispatch\Controller->controller()
#8 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/route/Dispatch.php(96): think\route\dispatch\Controller->exec()
#9 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Route.php(747): think\route\Dispatch->run()
#10 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Pipeline.php(59): think\Route->think\{closure}()
#11 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Pipeline.php(65): think\Pipeline->think\{closure}()
#12 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Route.php(748): think\Pipeline->then()
#13 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Http.php(213): think\Route->dispatch()
#14 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Http.php(203): think\Http->dispatchToRoute()
#15 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Pipeline.php(59): think\Http->think\{closure}()
#16 /www/wwwroot/lzyingyu.com/vendor/topthink/think-trace/src/TraceDebug.php(71): think\Pipeline->think\{closure}()
#17 [internal function]: think\trace\TraceDebug->handle()
#18 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func()
#19 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Pipeline.php(84): think\Middleware->think\{closure}()
#20 /www/wwwroot/lzyingyu.com/vendor/topthink/think-multi-app/src/MultiApp.php(71): think\Pipeline->think\{closure}()
#21 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Pipeline.php(59): think\app\MultiApp->think\app\{closure}()
#22 /www/wwwroot/lzyingyu.com/app/lzyingyu/middleware/CheckAgentMiddleware.php(68): think\Pipeline->think\{closure}()
#23 [internal function]: app\lzyingyu\middleware\CheckAgentMiddleware->handle()
#24 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func()
#25 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Pipeline.php(84): think\Middleware->think\{closure}()
#26 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Pipeline.php(65): think\Pipeline->think\{closure}()
#27 /www/wwwroot/lzyingyu.com/vendor/topthink/think-multi-app/src/MultiApp.php(72): think\Pipeline->then()
#28 [internal function]: think\app\MultiApp->handle()
#29 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func()
#30 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Pipeline.php(84): think\Middleware->think\{closure}()
#31 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Pipeline.php(65): think\Pipeline->think\{closure}()
#32 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Http.php(204): think\Pipeline->then()
#33 /www/wwwroot/lzyingyu.com/vendor/topthink/framework/src/think/Http.php(162): think\Http->runWithRequest()
#34 /www/wwwroot/lzyingyu.com/public/index.php(9): think\Http->run()
#35 {main}