澳门皇冠金沙网站-澳门皇冠844网站|点此进入

[8] ErrorException in Tree.php line 163

未定义变量: trees

  1. {
  2. foreach ($lists as $value) {
  3. if ($value[self::$config['id']] == $id) {
  4. $trees = $value;
  5. if($trees['pid'] > 0){
  6. $trees = $lists[$trees['pid']];
  7. }
  8. }
  9. }
  10. return $trees;
  11. }
  12. /**
  13. * 根据节点返回所有同级节点
  14. * @param array $lists 数据集
  15. * @param string $pid 父节点pid
  16. * @return array
  17. */
  18. public static function getBrother($lists = [], $pid = '')

Call Stack

  1. in Tree.php line 163
  2. at Error::appError(8, 'Undefined variable: ...', '/www/wwwroot/www.zyk...', 163, ['lists' => [['id' => 6, 'pid' => 0, 'name' => '澳门皇冠金沙网站', ...], ['id' => 13, 'pid' => 0, 'name' => '澳门皇冠844网站', ...], ['id' => 16, 'pid' => 0, 'name' => '党建文化', ...], ...], 'id' => 62, 'value' => ['id' => 74, 'pid' => 17, 'name' => '...', ...]]) in Tree.php line 163
  3. at Tree::getParent([['id' => 6, 'pid' => 0, 'name' => '澳门皇冠金沙网站', ...], ['id' => 13, 'pid' => 0, 'name' => '澳门皇冠844网站', ...], ['id' => 16, 'pid' => 0, 'name' => '党建文化', ...], ...], 62) in Common.php line 68
  4. at Common->getLeftColumn(62) in Document.php line 64
  5. at Document->detail('212', '')
  6. at ReflectionMethod->invokeArgs(object(Document), ['212', '']) in App.php line 343
  7. at App::invokeMethod([object(Document), 'detail'], []) in App.php line 611
  8. at App::module(['cms', 'document', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => '0', ...], true) in App.php line 456
  9. at App::exec(['type' => 'module', 'module' => ['cms', 'document', 'detail']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('/www/wwwroot/www.zyk...') in index.php line 32

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

jiu97_home___jump_url__
/cms/document/detail/id/212.html
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
jiu97_home___jump_url__=%2Fcms%2Fdocument%2Fdetail%2Fid%2F213.html
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.zykmy.cn
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
PATH_INFO
/cms/document/detail/id/212.html
REDIRECT_STATUS
200
SERVER_NAME
www.zykmy.cn
SERVER_PORT
80
SERVER_ADDR
192.168.102.246
REMOTE_PORT
45395
REMOTE_ADDR
107.175.54.35
SERVER_SOFTWARE
nginx/1.12.2
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.zykmy.cn
DOCUMENT_URI
/index.php
REQUEST_URI
/cms/document/detail/id/212.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/cms/document/detail/id/212.html
SCRIPT_FILENAME
/www/wwwroot/www.zykmy.cn/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1573437748.0065
REQUEST_TIME
1573437748
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.zykmy.cn/application/
ADMIN_FILE
admin.php
IS_ADMIN
0
THINK_VERSION
5.0.24
THINK_START_TIME
1573437748.0071
THINK_START_MEM
382312
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.zykmy.cn/thinkphp/
LIB_PATH
/www/wwwroot/www.zykmy.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/www.zykmy.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.zykmy.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.zykmy.cn/
EXTEND_PATH
/www/wwwroot/www.zykmy.cn/extend/
VENDOR_PATH
/www/wwwroot/www.zykmy.cn/vendor/
RUNTIME_PATH
/www/wwwroot/www.zykmy.cn/runtime/
LOG_PATH
/www/wwwroot/www.zykmy.cn/runtime/log/
CACHE_PATH
/www/wwwroot/www.zykmy.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/www.zykmy.cn/runtime/temp/
CONF_PATH
/www/wwwroot/www.zykmy.cn/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/www.zykmy.cn/vendor/ezyang/htmlpurifier/library
PUBLIC_PATH
/public/