[8] ErrorException in News.php line 35

未定义数组索引: class1

  1. if(!empty($show['keywords'])){
  2. $web['web_keywords']=$this->web_keywords($show['keywords']);
  3. }
  4. if(!empty($show['description'])){
  5. $web['web_description']=$this->web_description($show['description']);
  6. }
  7. $this->assign("web_set",$web);
  8. $show['content']=htmlspecialchars_decode($show['content']);
  9. $this->assign("location",$this->show_location($id,$mobe));
  10. $this->assign("class1_id",$show['class1']);
  11. $this->assign("class2_id",$show['class2']);
  12. $this->assign("class3_id",$show['class3']);
  13. $this->assign("id",$show['id']);
  14. $this->assign("hits",$show['hits']);
  15. $this->assign("show",$show);
  16. $sidebar=$this->sidebar($show['class1']);
  17. $this->assign("sidebar",$sidebar);

Call Stack

  1. in News.php line 35
  2. at Error::appError(8, 'Undefined index: cla...', '/data/user/htdocs/ap...', 35, ['mobe' => 'news', 'id' => '997', 'web' => ['web_title' => '-石墨烯地暖_电...', 'web_logo' => '/uploads/20190815/ac...', 'web_url' => 'http://www.nuanfeng....', ...], ...]) in News.php line 35
  3. at News->newsshow()
  4. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  5. at App::invokeMethod([object(News), 'newsshow'], []) in App.php line 611
  6. at App::module(['home', 'news', 'newsshow'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  7. at App::exec(['type' => 'module', 'module' => ['home', 'news', 'newsshow']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/data/user/htdocs/th...') in index.php line 19

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty

Session

xianyu
{ "lang": "zh-cn" }

Server/Request Data

USER
nobody
HOME
/
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/data/user/htdocs/public/index.php
PATH_INFO
/home.news.newsshow.id.997.html
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/public/index.php
REQUEST_URI
/public/index.php/home.news.newsshow.id.997.html
DOCUMENT_URI
/public/index.php/home.news.newsshow.id.997.html
DOCUMENT_ROOT
/data/user/htdocs
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.18.0
REMOTE_ADDR
3.237.65.102
REMOTE_PORT
58116
SERVER_ADDR
172.22.1.95
SERVER_PORT
80
SERVER_NAME
wh-nbguahxf4rgcppmkwth.my3w.com
REDIRECT_STATUS
200
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
www.nuanfeng.com.cn
PHP_SELF
/public/index.php/home.news.newsshow.id.997.html
REQUEST_TIME_FLOAT
1711655655.7552
REQUEST_TIME
1711655655
ALL_HTTP
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/user/htdocs/public/../application/
CONF_PATH
/data/user/htdocs/public/../config/
THINK_VERSION
5.0.24
THINK_START_TIME
1711655655.7553
THINK_START_MEM
222856
EXT
.php
DS
/
THINK_PATH
/data/user/htdocs/thinkphp/
LIB_PATH
/data/user/htdocs/thinkphp/library/
CORE_PATH
/data/user/htdocs/thinkphp/library/think/
TRAIT_PATH
/data/user/htdocs/thinkphp/library/traits/
ROOT_PATH
/data/user/htdocs/
EXTEND_PATH
/data/user/htdocs/extend/
VENDOR_PATH
/data/user/htdocs/vendor/
RUNTIME_PATH
/data/user/htdocs/runtime/
LOG_PATH
/data/user/htdocs/runtime/log/
CACHE_PATH
/data/user/htdocs/runtime/cache/
TEMP_PATH
/data/user/htdocs/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false