Undefined index: id
/www/wwwroot/bfenglish.com/app/common/model/PostModel.php
554
0
        $data['detail'] = '';
        $mdata = new PostDataModel($this->table_data_name);
        $detail = $mdata->where(['post_id' => $data['id']])->order("id desc")->find();
        if ($detail) {



#0 /www/wwwroot/bfenglish.com/app/common/model/PostModel.php(554): think\initializer\Error->appError(8, 'Undefined index...', '/www/wwwroot/bf...', 554, Array)
#1 /www/wwwroot/bfenglish.com/app/common/model/BaseModel.php(171): app\common\model\PostModel->af_find(Array)
#2 /www/wwwroot/bfenglish.com/app/PostTrait.php(222): app\common\model\BaseModel->find(Array)
#3 /www/wwwroot/bfenglish.com/app/bfenglish/controller/PostController.php(107): app\bfenglish\controller\PostController->tview(Array)
#4 [internal function]: app\bfenglish\controller\PostController->view()
#5 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Container.php(342): ReflectionMethod->invokeArgs(Object(app\bfenglish\controller\PostController), Array)
#6 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php(110): think\Container->invokeReflectMethod(Object(app\bfenglish\controller\PostController), Object(ReflectionMethod), Array)
#7 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(59): think\route\dispatch\Controller->think\route\dispatch\{closure}(Object(app\Request))
#8 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(65): think\Pipeline->think\{closure}(Object(app\Request))
#9 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php(113): think\Pipeline->then(Object(Closure))
#10 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/route/Dispatch.php(96): think\route\dispatch\Controller->exec()
#11 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Route.php(747): think\route\Dispatch->run()
#12 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(59): think\Route->think\{closure}(Object(app\Request))
#13 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(65): think\Pipeline->think\{closure}(Object(app\Request))
#14 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Route.php(748): think\Pipeline->then(Object(Closure))
#15 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Http.php(213): think\Route->dispatch(Object(app\Request), Object(Closure))
#16 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Http.php(203): think\Http->dispatchToRoute(Object(app\Request))
#17 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(59): think\Http->think\{closure}(Object(app\Request))
#18 /www/wwwroot/bfenglish.com/vendor/topthink/think-trace/src/TraceDebug.php(71): think\Pipeline->think\{closure}(Object(app\Request))
#19 [internal function]: think\trace\TraceDebug->handle(Object(app\Request), Object(Closure))
#20 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func(Array, Object(app\Request), Object(Closure))
#21 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(84): think\Middleware->think\{closure}(Object(app\Request), Object(Closure))
#22 /www/wwwroot/bfenglish.com/vendor/topthink/think-multi-app/src/MultiApp.php(71): think\Pipeline->think\{closure}(Object(app\Request))
#23 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(59): think\app\MultiApp->think\app\{closure}(Object(app\Request))
#24 /www/wwwroot/bfenglish.com/app/bfenglish/middleware/CheckAgentMiddleware.php(59): think\Pipeline->think\{closure}(Object(app\Request))
#25 [internal function]: app\bfenglish\middleware\CheckAgentMiddleware->handle(Object(app\Request), Object(Closure))
#26 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func(Array, Object(app\Request), Object(Closure))
#27 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(84): think\Middleware->think\{closure}(Object(app\Request), Object(Closure))
#28 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(65): think\Pipeline->think\{closure}(Object(app\Request))
#29 /www/wwwroot/bfenglish.com/vendor/topthink/think-multi-app/src/MultiApp.php(72): think\Pipeline->then(Object(Closure))
#30 [internal function]: think\app\MultiApp->handle(Object(app\Request), Object(Closure))
#31 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Middleware.php(142): call_user_func(Array, Object(app\Request), Object(Closure))
#32 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(84): think\Middleware->think\{closure}(Object(app\Request), Object(Closure))
#33 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Pipeline.php(65): think\Pipeline->think\{closure}(Object(app\Request))
#34 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Http.php(204): think\Pipeline->then(Object(Closure))
#35 /www/wwwroot/bfenglish.com/vendor/topthink/framework/src/think/Http.php(162): think\Http->runWithRequest(Object(app\Request))
#36 /www/wwwroot/bfenglish.com/public/index.php(9): think\Http->run()
#37 {main}