[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' => '4', ...]) 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 4
pageSize 10
apiService {}
filter { "category": "4", "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": 2, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": "301", "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": "12395", "post_like": "0", "comment_count": "0", "create_time": "1552288952", "update_time": "1716538376", "published_time": "1552288560", "delete_time": "0", "post_title": "\u65e5\u672c\u4f53\u68c0\u4f18\u52bf\u6709\u54ea\u4e9b", "post_keywords": "", "post_excerpt": "", "post_source": "", "post_content": "\n\n\n\u65e5\u672c\u56e0\u5176\u8ddd\u79bb\u8fd1\u3001\u8d39\u7528\u53ef\u63a5\u53d7\u3001\u996e\u98df\u4e60\u60ef\u4e0e\u4e2d\u56fd\u76f8\u8fd1\u7b49\u4f18\u52bf\uff0c\u9010\u6e10\u6210\u4e3a\u70ed\u95e8\u4e4b\u9009\u3002\u4e1a\u5185\u4eba\u6307\u51fa\uff0c\u65e5\u672c\u51ed\u501f\u65e9...", "post_content_filtered": null, "more": { "price": "", "thumbnail": "portal\/20171029\/a245b778ced9a34072fe127f769c9835.jpg" }, "hospital_category_id": "0", "list_order": "10000", "category_id": "4", "pid": "0", "user_login": "admin", "user_nickname": "admin", "user_email": "123@qq.com", "hospital_category_name": null }, { "id": "28", "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": "11616", "post_like": "0", "comment_count": "0", "create_time": "1509270445", "update_time": "1578294583", "published_time": "1509269940", "delete_time": "0", "post_title": "\u542c\u4eba\u8bb2\u8ff0\u65e5\u672c\u4f53\u68c0\u4eb2\u8eab\u4f53\u9a8c\uff0c\u63ed\u79d8\u65e5\u672c\u4f53\u68c0\u5927\u70ed\u7684\u539f\u56e0", "post_keywords": "", "post_excerpt": "", "post_source": "", "post_content": "\n\u6625\u8282\u5047\u671f\u91cc\uff0c\u6211\u4eec\u7684\u5ba2\u4eba\u5f90\u5148\u751f\u8d81\u7740\u5728\u65e5\u672c\u65c5\u884c\u7684\u95f4\u9699\uff0c\u5b89\u6392\u4e86\u4e24\u5929\u65f6\u95f4\u505a\u4e86\u65e9\u764c\u7b5b\u67e5\u4f53\u68c0\uff0c\u548c\u6211\u4eec\u5206\u4eab\u8be6\u7ec6\u8fc7...", "post_content_filtered": null, "more": { "price": "", "thumbnail": "20171029\/a7e14d0788289777fe659d91bc6a8fdc.jpg" }, "hospital_category_id": "2", "list_order": "10000", "category_id": "4", "pid": "0", "user_login": "admin", "user_nickname": "admin", "user_email": "123@qq.com", "hospital_category_name": "\u4f53\u68c0" } ], "pagination": null }
portalCategoryModel []
categoryInfo { "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": "" } }

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/4.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/4.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/index/pid/0/id/4.html
REDIRECT_QUERY_STRING
s=portal/list/index/pid/0/id/4.html
REDIRECT_REMOTE_ADDR
3.144.139.201
REDIRECT_REMOTE_PORT
12374
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/portal/list/index/pid/0/id/4.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/4.html
REDIRECT_SCRIPT_URL
/portal/list/index/pid/0/id/4.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
aB6XYwoRABgAHGp-K8YAAAAA
REDIRECT_URL
/portal/list/index/pid/0/id/4.html
REMOTE_ADDR
3.144.139.201
REMOTE_PORT
12374
REQUEST_METHOD
GET
REQUEST_URI
/portal/list/index/pid/0/id/4.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/4.html
SCRIPT_URL
/portal/list/index/pid/0/id/4.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
aB6XYwoRABgAHGp-K8YAAAAA
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1746835299.1125
REQUEST_TIME
1746835299
PATH_INFO
portal/list/index/pid/0/id/4.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
1746835299.113
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/4.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/4.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.327282s