[8] ErrorException in 22998df94757e2e4d9fc0eda804878c7.php line 149

未定义变量: content

  1. if ($model) {
  2. $content = Db()->name($model['table'])->where('id', $getone_info['id'])->find();
  3. }
  4. ?>
  5. <div class="wp" style="padding-top:20px;">
  6. <div class="dt1-hd wow fadeInUp">
  7. <h1><?php echo $getone_info['title']; ?></h1>
  8. </div>
  9. <div class="dt1-con wow fadeInUp" id="co">
  10. <?php echo $content['content']; ?>
  11. </div>
  12. </div>
  13. <?php break; case "2": ?>
  14. <li class="img4">
  15. <span class="gsry_tp">
  16. <img src="<?php echo $item['image']; ?>"/>
  17. </span>
  18. <p><?php echo $item['title']; ?></p>

Call Stack

  1. in 22998df94757e2e4d9fc0eda804878c7.php line 149
  2. at Error::appError(8, 'Undefined variable: ...', '/home/wwwroot/njsgrw...', 149, ['cacheFile' => '/home/wwwroot/njsgrw...', 'vars' => ['config' => ['system_user_id' => '0', 'sitename' => '...', 'sitelogo' => '/uploads/20210716/ec...', ...], 'user' => null, 'site' => ['name' => '工人文化宫', 'beian' => '', 'cdnurl' => '', ...], ...], 'config' => ['system_user_id' => '0', 'sitename' => '...', 'sitelogo' => '/uploads/20210716/ec...', ...], ...]) in 22998df94757e2e4d9fc0eda804878c7.php line 149
  3. at include('/home/wwwroot/njsgrw...') in File.php line 53
  4. at File->read('/home/wwwroot/njsgrw...', ['config' => ['system_user_id' => '0', 'sitename' => '...', 'sitelogo' => '/uploads/20210716/ec...', ...], 'user' => null, 'site' => ['name' => '工人文化宫', 'beian' => '', 'cdnurl' => '', ...], ...]) in Template.php line 188
  5. at Template->fetch('/home/wwwroot/njsgrw...', ['config' => ['system_user_id' => '0', 'sitename' => '...', 'sitelogo' => '/uploads/20210716/ec...', ...], 'user' => null, 'site' => ['name' => '工人文化宫', 'beian' => '', 'cdnurl' => '', ...], ...], []) in Think.php line 86
  6. at Think->fetch('/home/wwwroot/njsgrw...', ['config' => ['system_user_id' => '0', 'sitename' => '...', 'sitelogo' => '/uploads/20210716/ec...', ...], 'user' => null, 'site' => ['name' => '工人文化宫', 'beian' => '', 'cdnurl' => '', ...], ...], []) in View.php line 163
  7. at View->fetch('/listxinwen') in Channel.php line 152
  8. at Channel->index()
  9. at call_user_func_array([object(Channel), 'index'], []) in Route.php line 76
  10. at Route->execute('cms', 'channel', 'index')
  11. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'channel', 'index']) in App.php line 343
  12. at App::invokeMethod(['\think\addons\Route', 'execute'], ['diyname' => 'wenhuagonggaikuang', 'addon' => 'cms', 'controller' => 'channel', ...]) in App.php line 470
  13. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'cms', 'controller' => 'channel', 'action' => 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  14. at App::run() in start.php line 19
  15. at require('/home/wwwroot/njsgrw...') in index.php line 23

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
njsgrwhg.njgh.org
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
//cms/wenhuagonggaikuang.html
REDIRECT_STATUS
200
SERVER_NAME
njsgrwhg.njgh.org
SERVER_PORT
80
SERVER_ADDR
192.168.4.156
REMOTE_PORT
36196
REMOTE_ADDR
35.175.172.94
SERVER_SOFTWARE
nginx/1.20.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/wwwroot/njsgrwhg.njgh.org/public
DOCUMENT_URI
/index.php
REQUEST_URI
/cms/wenhuagonggaikuang.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//cms/wenhuagonggaikuang.html
SCRIPT_FILENAME
/home/wwwroot/njsgrwhg.njgh.org/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT
1711657175.5664
REQUEST_TIME
1711657175
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/njsgrwhg.njgh.org/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711657175.5678
THINK_START_MEM
409104
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/njsgrwhg.njgh.org/thinkphp/
LIB_PATH
/home/wwwroot/njsgrwhg.njgh.org/thinkphp/library/
CORE_PATH
/home/wwwroot/njsgrwhg.njgh.org/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/njsgrwhg.njgh.org/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/njsgrwhg.njgh.org/
EXTEND_PATH
/home/wwwroot/njsgrwhg.njgh.org/extend/
VENDOR_PATH
/home/wwwroot/njsgrwhg.njgh.org/vendor/
RUNTIME_PATH
/home/wwwroot/njsgrwhg.njgh.org/runtime/
LOG_PATH
/home/wwwroot/njsgrwhg.njgh.org/runtime/log/
CACHE_PATH
/home/wwwroot/njsgrwhg.njgh.org/runtime/cache/
TEMP_PATH
/home/wwwroot/njsgrwhg.njgh.org/runtime/temp/
CONF_PATH
/home/wwwroot/njsgrwhg.njgh.org/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/home/wwwroot/njsgrwhg.njgh.org/addons/