十博体育版

[8] ErrorException in News.phphtml line 134

未定义数组索引: cate_name

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

Call Stack

  1. in News.phphtml line 134
  2. at Error::appError(8, 'Undefined index: cat...', '/home/wwwroot/www.sc...', 134, ['province' => 14234, 'cate_id' => '7', 'tags' => '', ...]) in News.phphtml line 134
  3. at News->newslist()
  4. at ReflectionMethod->invokeArgs(object(News), []) in App.phphtml line 343
  5. at App::invokeMethod([object(News), 'newslist'], []) in App.phphtml line 611
  6. at App::module(['home', 'news', 'newslist'], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>false, ...], true) in App.phphtml line 456
  7. at App::exec(['type' => 'module', 'module' => ['home', 'news', 'newslist']], ['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/newslist

Session

think
{ "wx_state": "3d7baa4ff7b0f5a51515d2e7a589782e" }

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.ddxinxinfoods.com
PATH_INFO
//news/newslist/cate_id/7.html
REDIRECT_STATUS
200
SERVER_NAME
www.ddxinxinfoods.com
SERVER_PORT
443
SERVER_ADDR
172.16.148.123
REMOTE_PORT
38213
REMOTE_ADDR
154.210.209.229
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/newslist/cate_id/7.html
SCRIPT_NAME
/index.phphtml
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//news/newslist/cate_id/7.html
SCRIPT_FILENAME
/home/wwwroot/www.schoolpi.net/public/index.phphtml
FCGI_ROLE
RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT
1620991198.1293
REQUEST_TIME
1620991198
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/www.schoolpi.net/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1620991198.1297
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
ThinkPHP V5.0.24 { 十年磨一剑-为API开发设计的高性能框架 }
大奖手机官方娱乐网站拉霸360娱乐网址大奖手机官方娱乐网站
网站地图