[8] ErrorException in HomeBaseController.phphtml line 83

未定义数组索引: name

  1. $name['top']=$name['topid'];
  2. if($name['banner']==null||$name['banner']==""){
  3. $name['banner']=$name1['banner'];
  4. }
  5. if($name['下载安装']==null||$name['下载安装']==""){
  6. $name['下载安装']=$name1['下载安装'];
  7. }
  8. } else {
  9. $name['title']=$name['name'];
  10. $name['tname']=$name['name'];
  11. $name['sname']=$name['fname'];
  12. $name['banner']=$name['banner'];
  13. $name['下载安装']=$name['下载安装'];
  14. $name['tid']=$name['id'];
  15. $name['sid']="";
  16. $name['top']=$name['id'];
  17. }
  18. return $name;
  19. }

Call Stack

  1. in HomeBaseController.phphtml line 83
  2. at Error::appError(8, 'Undefined index: nam...', '/webroot/51wangfu.co...', 83, ['id' => '19', 'name' => ['title' =>null]]) in HomeBaseController.phphtml line 83
  3. at HomeBaseController->_getMenuName('19') in HomeBaseController.phphtml line 14
  4. at HomeBaseController->__construct()
  5. at ReflectionClass->newInstanceArgs([]) in App.phphtml line 359
  6. at App::invokeClass('app\home\controller\...') in Loader.phphtml line 479
  7. at Loader::controller('casesshow', 'controller', false, 'Error') in App.phphtml line 581
  8. at App::module(['home', 'casesshow', 'index'], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>false, ...], false) in App.phphtml line 457
  9. at App::exec(['type' => 'module', 'module' => ['home', 'casesshow', 'index'], 'convert' =>false], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>false, ...]) in App.phphtml line 139
  10. at App::run() in start.phphtml line 19
  11. at require('/webroot/51wangfu.co...') in index.phphtml line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/webroot/shogunaudio.com//index.phphtml
QUERY_STRING
s=/Casesshow/19/cid/62.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.phphtml
REQUEST_URI
/Casesshow/19/cid/62.html
DOCUMENT_URI
/index.phphtml
DOCUMENT_ROOT
/webroot/shogunaudio.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.12.0
REMOTE_ADDR
154.221.117.184
REMOTE_PORT
53978
SERVER_ADDR
60.169.78.247
SERVER_PORT
80
SERVER_NAME
www.shogunaudio.com
REDIRECT_STATUS
200
HTTP_HOST
www.shogunaudio.com
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
PHP_SELF
/index.phphtml
REQUEST_TIME_FLOAT
1590591202.6929
REQUEST_TIME
1590591202
argv
[ "s=\/Casesshow\/19\/cid\/62.html" ]
argc
1
PATH_INFO
/Casesshow/19/cid/62.html

Environment Variables

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/webroot/shogunaudio.com//index.phphtml
QUERY_STRING
s=/Casesshow/19/cid/62.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.phphtml
REQUEST_URI
/Casesshow/19/cid/62.html
DOCUMENT_URI
/index.phphtml
DOCUMENT_ROOT
/webroot/shogunaudio.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.12.0
REMOTE_ADDR
154.221.117.184
REMOTE_PORT
53978
SERVER_ADDR
60.169.78.247
SERVER_PORT
80
SERVER_NAME
www.shogunaudio.com
REDIRECT_STATUS
200
HTTP_HOST
www.shogunaudio.com
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
PHP_SELF
/index.phphtml
REQUEST_TIME_FLOAT
1590591202.6929
REQUEST_TIME
1590591202
argv
[ "s=\/Casesshow\/19\/cid\/62.html" ]
argc
1

ThinkPHP Constants

APP_PATH
/webroot/shogunaudio.com/application/
THINK_VERSION
5.0.24
THINK_START_TIME
1590591202.6936
THINK_START_MEM
250408
EXT
.phphtml
DS
/
THINK_PATH
/webroot/shogunaudio.com/thinkphp/
LIB_PATH
/webroot/shogunaudio.com/thinkphp/library/
CORE_PATH
/webroot/shogunaudio.com/thinkphp/library/think/
TRAIT_PATH
/webroot/shogunaudio.com/thinkphp/library/traits/
ROOT_PATH
/webroot/shogunaudio.com/
EXTEND_PATH
/webroot/shogunaudio.com/extend/
VENDOR_PATH
/webroot/shogunaudio.com/vendor/
RUNTIME_PATH
/webroot/shogunaudio.com/runtime/
LOG_PATH
/webroot/shogunaudio.com/runtime/log/
CACHE_PATH
/webroot/shogunaudio.com/runtime/cache/
TEMP_PATH
/webroot/shogunaudio.com/runtime/temp/
CONF_PATH
/webroot/shogunaudio.com/application/
CONF_EXT
.phphtml
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
博狗体育手机app2020年北爱尔兰欧洲杯最新名单2020年北爱尔兰欧洲杯最新名单