[8] ErrorException in News.phphtml line 205

未定义数组索引: info

  1. 'id'=>$id,
  2. 'uid'=>$uid,
  3. ];
  4. $result = http_curl2($data,$url);
  5. $info = [];
  6. $info_data = [];
  7. $article_list = [];
  8. $tags_list = [];
  9. if($result['code'] = 1){
  10. $info = $result['info'];
  11. $info_data = $result['info_data'];
  12. $article_list = $result['article_list'];
  13. $tags_list = $result['tags_list'];
  14. }
  15. $this->assign('cate_name', $info['cate_name']);
  16. $this->assign('info', $info);
  17. $this->assign('info_data', $info_data);
  18. $this->assign('article_list', $article_list);
  19. $this->assign('tags_list', $tags_list);

Call Stack

  1. in News.phphtml line 205
  2. at Error::appError(8, 'Undefined index: inf...', '/home/wwwroot/www.sc...', 205, ['uid' =>null, 'id' => '3990', 'url' => 'https://new.schoolpi...', ...]) in News.phphtml line 205
  3. at News->newsdetail()
  4. at ReflectionMethod->invokeArgs(object(News), []) in App.phphtml line 343
  5. at App::invokeMethod([object(News), 'newsdetail'], []) in App.phphtml line 611
  6. at App::module(['home', 'news', 'newsdetail'], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>false, ...], true) in App.phphtml line 456
  7. at App::exec(['type' => 'module', 'module' => ['home', 'news', 'newsdetail']], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>false, ...]) in App.phphtml line 139
  8. at App::run() in start.phphtml line 19
  9. at require('/home/wwwroot/www.sc...') in index.phphtml line 38

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

region
think:{"id":"14234","name":"%E5%AE%89%E5%BE%BD"}
now_url
News/newsdetail

Session

think
{ "wx_state": "a5a59398446994c92a26ede47017ccfd" }

Server/Request Data

LD_LIBRARY_PATH
/usr/local/lib
TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin:/data/bin
USER
www
HOME
/home/www
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT
*/*
HTTP_HOST
www.hrmdsh.com
PATH_INFO
//news/newsdetail/id/3990.html
REDIRECT_STATUS
200
SERVER_NAME
www.hrmdsh.com
SERVER_PORT
443
SERVER_ADDR
172.16.148.123
REMOTE_PORT
53095
REMOTE_ADDR
156.234.144.106
SERVER_SOFTWARE
nginx/1.16.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/wwwroot/www.schoolpi.net/public
DOCUMENT_URI
/index.phphtml
REQUEST_URI
/news/newsdetail/id/3990.html
SCRIPT_NAME
/index.phphtml
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//news/newsdetail/id/3990.html
SCRIPT_FILENAME
/home/wwwroot/www.schoolpi.net/public/index.phphtml
FCGI_ROLE
RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT
1620997155.0489
REQUEST_TIME
1620997155
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/www.schoolpi.net/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1620997155.0493
THINK_START_MEM
411064
EXT
.phphtml
DS
/
THINK_PATH
/home/wwwroot/www.schoolpi.net/thinkphp/
LIB_PATH
/home/wwwroot/www.schoolpi.net/thinkphp/library/
CORE_PATH
/home/wwwroot/www.schoolpi.net/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/www.schoolpi.net/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/www.schoolpi.net/
EXTEND_PATH
/home/wwwroot/www.schoolpi.net/extend/
VENDOR_PATH
/home/wwwroot/www.schoolpi.net/vendor/
RUNTIME_PATH
/home/wwwroot/www.schoolpi.net/runtime/
LOG_PATH
/home/wwwroot/www.schoolpi.net/runtime/log/
CACHE_PATH
/home/wwwroot/www.schoolpi.net/runtime/cache/
TEMP_PATH
/home/wwwroot/www.schoolpi.net/runtime/temp/
CONF_PATH
/home/wwwroot/www.schoolpi.net/public/../application/
CONF_EXT
.phphtml
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
乐橙云pc版注册网站人人中彩票官方首页乐虎游戏国际