[8] ErrorException in Meeting.php line 44

未定义变量: news

  1. $route = db('route')->where('pid',$v['id'])->select();
  2. if($route){
  3. $v['route'] = $route ;
  4. }
  5. $olds[] = $v;
  6. }
  7. $this->assign([
  8. 'res'=>$res,
  9. 'news'=>$news,
  10. 'olds'=>$olds
  11. ]);
  12. return $this->fetch();
  13. }
  14. }

Call Stack

  1. in Meeting.php line 44
  2. at Error::appError(8, 'Undefined variable: ...', '/www/wwwroot/health....', 44, ['res' => ['id' => 12, 'cate_name' => '会议', 'desc_title' => '会议', ...], 'new' => [], 'v' => ['id' => 5, 'main_name' => '启动会', 'adv_name' => '北京', ...], ...]) in Meeting.php line 44
  3. at Meeting->index()
  4. at ReflectionMethod->invokeArgs(object(Meeting), []) in App.php line 343
  5. at App::invokeMethod([object(Meeting), 'index'], []) in App.php line 611
  6. at App::module(['index', 'meeting', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['index', 'meeting', 'index']], ['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('/www/wwwroot/health....') in index.php line 17

Environment Variables

GET Data

/index/meeting/index_html
id
12
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/index/meeting/index.html?id=12
QUERY_STRING
/index/meeting/index.html&id=12
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
/index/meeting/index.html&id=12
REDIRECT_URL
/index/meeting/index.html
REMOTE_PORT
35774
SCRIPT_FILENAME
/www/wwwroot/health.net.cn/healthylivestock/public/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/health.net.cn/healthylivestock/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/www/wwwroot/health.net.cn/healthylivestock/public
REMOTE_ADDR
3.83.187.36
SERVER_PORT
80
SERVER_ADDR
172.31.95.235
SERVER_NAME
www.healthylivestock.net.cn
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at www.healthylivestock.net.cn Port 80</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST
www.healthylivestock.net.cn
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
proxy-nokeepalive
1
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711726510.2379
REQUEST_TIME
1711726510
PATH_INFO
/index/meeting/index.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/health.net.cn/healthylivestock/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711726510.2387
THINK_START_MEM
381736
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/health.net.cn/healthylivestock/thinkphp/
LIB_PATH
/www/wwwroot/health.net.cn/healthylivestock/thinkphp/library/
CORE_PATH
/www/wwwroot/health.net.cn/healthylivestock/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/health.net.cn/healthylivestock/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/health.net.cn/healthylivestock/
EXTEND_PATH
/www/wwwroot/health.net.cn/healthylivestock/extend/
VENDOR_PATH
/www/wwwroot/health.net.cn/healthylivestock/vendor/
RUNTIME_PATH
/www/wwwroot/health.net.cn/healthylivestock/runtime/
LOG_PATH
/www/wwwroot/health.net.cn/healthylivestock/runtime/log/
CACHE_PATH
/www/wwwroot/health.net.cn/healthylivestock/runtime/cache/
TEMP_PATH
/www/wwwroot/health.net.cn/healthylivestock/runtime/temp/
CONF_PATH
/www/wwwroot/health.net.cn/healthylivestock/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false