[8] ErrorException in News.php line 253

未定义变量: archives_row

  1. //统计作者文章数和评论数
  2. if ($archives->user) {
  3. $archives->user->archives = ArchivesModel::where('user_id', $archives->user_id)->where('status', 'normal')->cache(3600)->count();
  4. $archives->user->comments = \addons\cms\model\Comment::where('user_id', $archives->user_id)->where('status', 'normal')->cache(3600)->count();
  5. }
  6. //资讯页TDK
  7. //seo_news_title,seo_news_kewords,seo_news_description
  8. $sitename = $config['sitename'];
  9. $nevolname = $archives_row['title'];
  10. $leadname = $shujiaddons['book_role'];
  11. $author = $archives['author'];
  12. $chaptername = $archives['chapter_title'];
  13. //设置TKD
  14. Config::set('cms.title', isset($archives['seotitle']) && $archives['seotitle'] ? $archives['seotitle'] : $archives['title']);
  15. Config::set('cms.keywords', $archives['keywords']);
  16. Config::set('cms.description', $archives['description']);

Call Stack

  1. in News.php line 253
  2. at Error::appError() in News.php line 253
  3. at News->index()
  4. at call_user_func_array() in Route.php line 78
  5. at Route->execute()
  6. at ReflectionMethod->invokeArgs() in App.php line 343
  7. at App::invokeMethod() in App.php line 470
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/fast.gw...') in index.php line 25

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_ALI_CDN_REAL_IP
54.225.35.224
HTTP_X_CLIENT_SCHEME
http
HTTP_X_FORWARDED_FOR
54.225.35.224
HTTP_ALI_SWIFT_STAT_HOST
level2.www.gwcc16.com
HTTP_ALI_SWIFT_LOG_HOST
www.gwcc16.com
HTTP_EAGLEEYE_TRACEID
de49212117116152660254022e
HTTP_VIA
cn5626.l1, vcache5.cn5626, l2nu20-3.l2, cache25.l2nu20-3
HTTP_HOST
www.gwcc16.com
PATH_INFO
/news/19272.html
REDIRECT_STATUS
200
SERVER_NAME
fast.gwcc16.com
SERVER_PORT
80
SERVER_ADDR
117.41.247.239
REMOTE_PORT
52402
REMOTE_ADDR
150.138.126.86
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/fast.gwcc16.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/news/19272.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/news/19272.html
SCRIPT_FILENAME
/www/wwwroot/fast.gwcc16.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711615266.2771
REQUEST_TIME
1711615266
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/fast.gwcc16.com/public/../application/
THINK_VERSION
5.0.25
THINK_START_TIME
1711615266.2783
THINK_START_MEM
409016
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/fast.gwcc16.com/thinkphp/
LIB_PATH
/www/wwwroot/fast.gwcc16.com/thinkphp/library/
CORE_PATH
/www/wwwroot/fast.gwcc16.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/fast.gwcc16.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/fast.gwcc16.com/
EXTEND_PATH
/www/wwwroot/fast.gwcc16.com/extend/
VENDOR_PATH
/www/wwwroot/fast.gwcc16.com/vendor/
RUNTIME_PATH
/www/wwwroot/fast.gwcc16.com/runtime/
LOG_PATH
/www/wwwroot/fast.gwcc16.com/runtime/log/
CACHE_PATH
/www/wwwroot/fast.gwcc16.com/runtime/cache/
TEMP_PATH
/www/wwwroot/fast.gwcc16.com/runtime/temp/
CONF_PATH
/www/wwwroot/fast.gwcc16.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/fast.gwcc16.com/addons/