[8] ErrorException in ListController.php line 91

未定义变量: tplName

  1. $this->assign('data', $data);
  2. $portalCategoryModel = new PortalCategoryModel();
  3. $categoryInfo = $portalCategoryModel->get($id);
  4. $this->assign('category_info', $categoryInfo);
  5. return $this->fetch(":$tplName");
  6. }
  7. }

Call Stack

  1. in ListController.php line 91
  2. at Error::appError(8, 'Undefined variable: ...', '/usr/home/hyu2460840...', 91, ['pid' => 0, 'nid' => null, 'id' => '5', ...]) in ListController.php line 91
  3. at ListController->index()
  4. at ReflectionMethod->invokeArgs(object(ListController), []) in App.php line 197
  5. at App::invokeMethod([object(ListController), 'index'], []) in App.php line 411
  6. at App::module(['portal', 'list', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 296
  7. at App::exec(['type' => 'module', 'module' => ['portal', 'list', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 124
  8. at App::run() in index.php line 59

Exception Datas

Error Context
pid 0
nid Resource
id 5
pageSize 10
apiService {}
filter { "category": "5", "keyword": "" }
device pc
slideItemModel []
banner [ { "id": "20", "slide_id": "2", "status": "1", "list_order": "10000", "title": "Pic", "image": "http:\/\/www.haiwaiguahao.com\/upload\/admin\/20171030\/6d6702c9e36b7ac36dc167c64f1f461d.jpg", "url": "", "target": "", "description": "", "content": "", "more": null, "device": "pc", "category_id": "0" } ]
categories [ { "id": "2", "parent_id": "0", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u7cbe\u54c1\u670d\u52a1", "description": "", "path": "0-2", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "portal\/20171024\/ce49dd46a99436507bccaee3160bc4c4.jpg" } }, { "id": "3", "parent_id": "0", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u5408\u4f5c\u533b\u9662", "description": "", "path": "0-3", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "portal\/20171024\/b99623edb9a0339e92bbec4a2e4e34ca.jpg" } }, { "id": "4", "parent_id": "0", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u5c31\u8bca\u6848\u4f8b", "description": "", "path": "0-4", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "" } }, { "id": "5", "parent_id": "0", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u5065\u5eb7\u8d44\u8baf", "description": "", "path": "0-5", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "" } } ]
postService {}
hcid Resource
data { "total": 1, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": "315", "parent_id": "0", "post_type": "1", "post_format": "1", "user_id": "1", "post_status": "1", "comment_status": "1", "is_top": "0", "recommended": "0", "post_hits": "8538", "post_like": "0", "comment_count": "0", "create_time": "1566899550", "update_time": "1578294678", "published_time": "1566899340", "delete_time": "0", "post_title": "\u6d77\u5916\u6302\u53f7\u7f51\u53d7\u9080\u53c2\u52a0\u7b2c\u5341\u4e09\u5c4a\u56fd\u9645\u533b\u7597\u65c5\u6e38\u5c55\u89c8\u4f1a", "post_keywords": "", "post_excerpt": "", "post_source": "", "post_content": "\n2019\u7b2c\u5341\u4e09\u5c4a\u6df1\u5733\u56fd\u9645\u533b\u7597\u65c5\u6e38\u5c55\u89c8\u4f1a\u4e8e2019\u5e748\u670822-24\u65e5\u5728\u6df1\u5733\u4f1a\u5c55\u4e2d\u5fc3\u9686\u91cd\u53ec\u5f00\uff0c\u6709\u6765\u81ea\u7f8e...", "post_content_filtered": null, "more": { "price": "", "thumbnail": "20190827\/82dc6ebdf76c136395809e2eb6b8a3d8.jpg" }, "hospital_category_id": "0", "list_order": "10000", "category_id": "5", "pid": "0", "user_login": "admin", "user_nickname": "admin", "user_email": "123@qq.com", "hospital_category_name": null } ], "pagination": null }
portalCategoryModel []
categoryInfo { "id": "5", "parent_id": "0", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u5065\u5eb7\u8d44\u8baf", "description": "", "path": "0-5", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "" } }

Environment Variables

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

Server/Request Data

DOCUMENT_ROOT
/usr/home/hyu2460840001/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_HOST
www.haiwaiguahao.com
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH
/bin
PHPRC
/var/www/php55/hichina_ini/hyu2460840001
QUERY_STRING
s=portal/list/index/pid/0/id/5.html
REDIRECT_DOCUMENT_ROOT
/usr/home/hyu2460840001/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
REDIRECT_HTTP_HOST
www.haiwaiguahao.com
REDIRECT_HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO
/list/index/pid/0/id/5.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/index/pid/0/id/5.html
REDIRECT_QUERY_STRING
s=portal/list/index/pid/0/id/5.html
REDIRECT_REMOTE_ADDR
18.188.71.235
REDIRECT_REMOTE_PORT
14687
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/portal/list/index/pid/0/id/5.html
REDIRECT_SCRIPT_FILENAME
/usr/home/hyu2460840001/htdocs/portal
REDIRECT_SCRIPT_NAME
/portal
REDIRECT_SCRIPT_URI
http://www.haiwaiguahao.com/portal/list/index/pid/0/id/5.html
REDIRECT_SCRIPT_URL
/portal/list/index/pid/0/id/5.html
REDIRECT_SERVER_ADDR
10.17.0.24
REDIRECT_SERVER_ADMIN
webmaster@hyu2460840001.my3w.com
REDIRECT_SERVER_NAME
www.haiwaiguahao.com
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_TZ
Asia/Shanghai
REDIRECT_UNIQUE_ID
aB3ccgoRABgAHCk5bNkAAAAB
REDIRECT_URL
/portal/list/index/pid/0/id/5.html
REMOTE_ADDR
18.188.71.235
REMOTE_PORT
14687
REQUEST_METHOD
GET
REQUEST_URI
/portal/list/index/pid/0/id/5.html
SCRIPT_FILENAME
/usr/home/hyu2460840001/htdocs/index.php
SCRIPT_NAME
/index.php
SCRIPT_URI
http://www.haiwaiguahao.com/portal/list/index/pid/0/id/5.html
SCRIPT_URL
/portal/list/index/pid/0/id/5.html
SERVER_ADDR
10.17.0.24
SERVER_ADMIN
webmaster@hyu2460840001.my3w.com
SERVER_NAME
www.haiwaiguahao.com
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
TZ
Asia/Shanghai
UNIQUE_ID
aB3ccgoRABgAHCk5bNkAAAAB
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1746787442.199
REQUEST_TIME
1746787442
PATH_INFO
portal/list/index/pid/0/id/5.html
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
/usr/home/hyu2460840001/htdocs/
APP_PATH
/usr/home/hyu2460840001/htdocs/app/
CMF_PATH
/usr/home/hyu2460840001/htdocs/simplewind/cmf/
WEB_ROOT
/usr/home/hyu2460840001/htdocs/
PLUGINS_PATH
/usr/home/hyu2460840001/htdocs/plugins/
EXTEND_PATH
/usr/home/hyu2460840001/htdocs/simplewind/extend/
VENDOR_PATH
/usr/home/hyu2460840001/htdocs/simplewind/vendor/
RUNTIME_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/
THINKCMF_VERSION
5.0.170927
THINK_VERSION
5.0.11
THINK_START_TIME
1746787442.1995
THINK_START_MEM
258648
EXT
.php
DS
/
THINK_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/
LIB_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/
CORE_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/think/
TRAIT_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/traits/
ROOT_PATH
/usr/home/hyu2460840001/htdocs/
LOG_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/log/
CACHE_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/cache/
TEMP_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/temp/
CONF_PATH
/usr/home/hyu2460840001/htdocs/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/usr/home/hyu2460840001/htdocs/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.1
wwwroot
http://888.hypnose07.com:8000/asp/index.php?
request
/portal/list/index/pid/0/id/5.html
referer
Resource
user_agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
suffix
/(\.(xml|doc|txt|ppt|xls|html|shtml)|aid|wap|mtv|content|dy\/article)/i
is_origin
road=www.haiwaiguahao.com/portal/list/index/pid/0/id/5.html
spider_head
@Baiduspider|Sogou web spider|Sogou inst spider@i
is_suffix
1
is_referer
0
is_user_agent
0
is_mobile
0
DOMDOCUMENT
DOMDocument
DOMELEMENT
DOMElement
DOMNODELIST
DOMNodeList
DOMNODE
DOMNode
0.352534s