[8] ErrorException in 6f6a786dc995047ef4d5d40200aa394d.php line 154

未定义数组索引: name

  1. <?php endforeach; endif; else: echo "" ;endif; ?>
  2. </div>
  3. </div>
  4. <!--left end-->
  5. <!--right star-->
  6. <div class="host_main fr nomargin">
  7. <h2 class="sch-info"><?php echo $hospital['title']; ?>共有<span><?php echo $hospital['doctor_count']; ?></span>位医生</h2>
  8. <div class="caption">
  9. <b>医院专家</b>
  10. <i class="ks_class"><?php echo $keshiobj['name']; ?></i>
  11. </div>
  12. <div class="doctor-table">
  13. <div class="js-tab-item">
  14. <div class="table-head">
  15. <span class="col-1">科室</span>
  16. <span class="col-2">专家</span>
  17. <span class="col-3">职称</span>
  18. <span class="col-4">擅长</span>

Call Stack

  1. in 6f6a786dc995047ef4d5d40200aa394d.php line 154
  2. at Error::appError(8, 'Undefined index: nam...', '/www/wwwroot/huatuo1...', 154, ['cacheFile' => '/www/wwwroot/huatuo1...', 'vars' => ['config' => ['rewrite' => ['index/index' => '/hospital/$', 'index/zhuanjia' => '/hospital/zhuanjia/[...', 'index/details' => '/hospital/[:id]$', ...], 'domain' => ''], 'user' => null, 'site' => ['name' => '华佗医网', 'beian' => '湘ICP备19013665号...', 'cdnurl' => '//img.huatuo1.com/', ...], ...], 'config' => ['rewrite' => ['index/index' => '/hospital/$', 'index/zhuanjia' => '/hospital/zhuanjia/[...', 'index/details' => '/hospital/[:id]$', ...], 'domain' => ''], ...]) in 6f6a786dc995047ef4d5d40200aa394d.php line 154
  3. at include('/www/wwwroot/huatuo1...') in File.php line 53
  4. at File->read('/www/wwwroot/huatuo1...', ['config' => ['rewrite' => ['index/index' => '/hospital/$', 'index/zhuanjia' => '/hospital/zhuanjia/[...', 'index/details' => '/hospital/[:id]$', ...], 'domain' => ''], 'user' => null, 'site' => ['name' => '华佗医网', 'beian' => '湘ICP备19013665号...', 'cdnurl' => '//img.huatuo1.com/', ...], ...]) in Template.php line 188
  5. at Template->fetch('/www/wwwroot/huatuo1...', ['config' => ['rewrite' => ['index/index' => '/hospital/$', 'index/zhuanjia' => '/hospital/zhuanjia/[...', 'index/details' => '/hospital/[:id]$', ...], 'domain' => ''], 'user' => null, 'site' => ['name' => '华佗医网', 'beian' => '湘ICP备19013665号...', 'cdnurl' => '//img.huatuo1.com/', ...], ...], []) in Think.php line 86
  6. at Think->fetch('/www/wwwroot/huatuo1...', ['config' => ['rewrite' => ['index/index' => '/hospital/$', 'index/zhuanjia' => '/hospital/zhuanjia/[...', 'index/details' => '/hospital/[:id]$', ...], 'domain' => ''], 'user' => null, 'site' => ['name' => '华佗医网', 'beian' => '湘ICP备19013665号...', 'cdnurl' => '//img.huatuo1.com/', ...], ...], []) in View.php line 163
  7. at View->fetch() in Index.php line 197
  8. at Index->doctor()
  9. at call_user_func_array([object(Index), 'doctor'], []) in Route.php line 76
  10. at Route->execute('hospital', 'index', 'doctor')
  11. at ReflectionMethod->invokeArgs(object(Route), ['hospital', 'index', 'doctor']) in App.php line 343
  12. at App::invokeMethod(['\think\addons\Route', 'execute'], ['keshi' => '208', 'id' => '65', 'addon' => 'hospital', ...]) in App.php line 470
  13. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'hospital', 'controller' => 'index', 'action' => 'doctor']], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...]) in App.php line 139
  14. at App::run() in start.php line 19
  15. at require('/www/wwwroot/huatuo1...') in index.php line 24

Environment Variables

GET Data

keshi
208
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
www.huatuo1.com
PATH_INFO
/hospital/65/doctor.html
REDIRECT_STATUS
200
SERVER_NAME
www.huatuo1.com
SERVER_PORT
443
SERVER_ADDR
172.17.0.14
REMOTE_PORT
43644
REMOTE_ADDR
18.212.102.174
SERVER_SOFTWARE
nginx/1.19.7
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/huatuo1.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/hospital/65/doctor.html?keshi=208
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/hospital/65/doctor.html&keshi=208
SCRIPT_FILENAME
/www/wwwroot/huatuo1.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711617952.355
REQUEST_TIME
1711617952
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/huatuo1.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711617952.3551
THINK_START_MEM
395872
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/huatuo1.com/thinkphp/
LIB_PATH
/www/wwwroot/huatuo1.com/thinkphp/library/
CORE_PATH
/www/wwwroot/huatuo1.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/huatuo1.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/huatuo1.com/
EXTEND_PATH
/www/wwwroot/huatuo1.com/extend/
VENDOR_PATH
/www/wwwroot/huatuo1.com/vendor/
RUNTIME_PATH
/www/wwwroot/huatuo1.com/runtime/
LOG_PATH
/www/wwwroot/huatuo1.com/runtime/log/
CACHE_PATH
/www/wwwroot/huatuo1.com/runtime/cache/
TEMP_PATH
/www/wwwroot/huatuo1.com/runtime/temp/
CONF_PATH
/www/wwwroot/huatuo1.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/huatuo1.com/addons/