[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' => 3, 'nid' => null, 'id' => '12', ...]) 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 3
nid Resource
id 12
pageSize 10
apiService {}
filter { "category": "12", "keyword": "" }
device pc
slideItemModel []
banner [ { "id": "4", "slide_id": "4", "status": "1", "list_order": "10000", "title": "\u5408\u4f5c\u533b\u9662", "image": "admin\/20171030\/6d6702c9e36b7ac36dc167c64f1f461d.jpg", "url": "", "target": "", "description": "", "content": "", "more": null, "device": "pc", "category_id": "3" } ]
categories [ { "id": "12", "parent_id": "3", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u6b27\u6d32", "description": "", "path": "0-3-12", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "portal\/20171025\/549cad075f657c07b232f9055f27647b.jpg" } }, { "id": "13", "parent_id": "3", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u5317\u7f8e\u6d32", "description": "", "path": "0-3-13", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "portal\/20171024\/db05e18b783a22c39111889db79374db.jpg" } }, { "id": "14", "parent_id": "3", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u4e9a\u6d32", "description": "", "path": "0-3-14", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "portal\/20171025\/6020d7aee5c5d1e850fa6e528aaf27e9.jpg" } } ]
postService {}
hcid Resource
data { "total": 3, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": "84", "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": "7434", "post_like": "0", "comment_count": "0", "create_time": "1510120649", "update_time": "1578296763", "published_time": "1510120320", "delete_time": "0", "post_title": "\u5fb7\u56fd\u67cf\u6797\u8d28\u5b50\u6cbb\u7597\u4e2d\u5fc3", "post_keywords": "", "post_excerpt": "", "post_source": "", "post_content": "\n\u5fb7\u56fd\u67cf\u6797\u8d28\u5b50\u6cbb\u7597\u4e2d\u5fc3\nHZB (HMI)\uff08Berlin PTC\uff09\n\n\u5fb7\u56fd\u67cf\u6797\u8d28\u5b50\u6cbb\u7597\u4e2d\u5fc3\u63d0\u4f9b\u7684\u6cbb\u7597...", "post_content_filtered": null, "more": { "price": "", "thumbnail": "20171108\/841377a6a5e1c2688b446ea52336334c.jpg" }, "hospital_category_id": "7", "list_order": "10000", "category_id": "12", "pid": "3", "user_login": "admin", "user_nickname": "admin", "user_email": "123@qq.com", "hospital_category_name": "\u8d28\u5b50\u91cd\u79bb\u5b50\uff1a\u80bf\u7624\u6cbb\u7597" }, { "id": "82", "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": "8235", "post_like": "0", "comment_count": "0", "create_time": "1510119725", "update_time": "1578296727", "published_time": "1510119420", "delete_time": "0", "post_title": "\u5fb7\u56fd\u6d77\u5fb7\u5821\u91cd\u79bb\u5b50\u4e0e\u8d28\u5b50\u6cbb\u7597\u4e2d\u5fc3", "post_keywords": "", "post_excerpt": "", "post_source": "", "post_content": "\n\u5fb7\u56fd\u6d77\u5fb7\u5821\u91cd\u79bb\u5b50\u4e0e\u8d28\u5b50\u6cbb\u7597\u4e2d\u5fc3\nHIT\n\n\u5fb7\u56fd\u6d77\u5fb7\u5821\u91cd\u79bb\u5b50\u4e0e\u8d28\u5b50\u6cbb\u7597\u4e2d\u5fc3\u662f\u5fb7\u56fd\u80fd\u8fdb\u884c\u91cd\u79bb\u5b50\u4e0e\u8d28\u5b50\u6cbb...", "post_content_filtered": null, "more": { "price": "", "thumbnail": "20171108\/262cbdd01a27aa07fa07c009db8017d0.jpg" }, "hospital_category_id": "7", "list_order": "10000", "category_id": "12", "pid": "3", "user_login": "admin", "user_nickname": "admin", "user_email": "123@qq.com", "hospital_category_name": "\u8d28\u5b50\u91cd\u79bb\u5b50\uff1a\u80bf\u7624\u6cbb\u7597" }, { "id": "81", "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": "8388", "post_like": "0", "comment_count": "0", "create_time": "1510119283", "update_time": "1578296143", "published_time": "1510118820", "delete_time": "0", "post_title": "\u5fb7\u56fd\u6155\u5c3c\u9ed1\u8d28\u5b50\u4e2d\u5fc3", "post_keywords": "", "post_excerpt": "", "post_source": "", "post_content": "\n\u5fb7\u56fd\u6155\u5c3c\u9ed1\u8d28\u5b50\u4e2d\u5fc3\nRPTC\n\n\u6155\u5c3c\u9ed1\u8d28\u5b50\u6cbb\u7597\u4e2d\u5fc3\u662f\u6b27\u6d32\u4e00\u5bb6\u5b9e\u73b0\u5168\u4e34\u5e8a\u8d28\u5b50\u7167\u5c04\u6cbb\u7597\u80bf\u7624\u7684\u673a\u6784\u3002\u5b83\u662f...", "post_content_filtered": null, "more": { "price": "", "thumbnail": "20171108\/84807b1d8da5a7b5280b4eaf7c354bde.jpg" }, "hospital_category_id": "7", "list_order": "10000", "category_id": "12", "pid": "3", "user_login": "admin", "user_nickname": "admin", "user_email": "123@qq.com", "hospital_category_name": "\u8d28\u5b50\u91cd\u79bb\u5b50\uff1a\u80bf\u7624\u6cbb\u7597" } ], "pagination": null }
portalCategoryModel []
categoryInfo { "id": "12", "parent_id": "3", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u6b27\u6d32", "description": "", "path": "0-3-12", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "portal\/20171025\/549cad075f657c07b232f9055f27647b.jpg" } }

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_HOST
www.haiwaiguahao.com
HTTP_USER_AGENT
claudebot
PATH
/bin
PHPRC
/var/www/php55/hichina_ini/hyu2460840001
QUERY_STRING
s=portal/list/index/pid/3/id/12.html
REDIRECT_DOCUMENT_ROOT
/usr/home/hyu2460840001/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_HOST
www.haiwaiguahao.com
REDIRECT_HTTP_USER_AGENT
claudebot
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO
/list/index/pid/3/id/12.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/index/pid/3/id/12.html
REDIRECT_QUERY_STRING
s=portal/list/index/pid/3/id/12.html
REDIRECT_REMOTE_ADDR
3.238.12.0
REDIRECT_REMOTE_PORT
56718
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/portal/list/index/pid/3/id/12.html
REDIRECT_SCRIPT_FILENAME
/usr/home/hyu2460840001/htdocs/portal
REDIRECT_SCRIPT_NAME
/portal
REDIRECT_SCRIPT_URI
http://www.haiwaiguahao.com/portal/list/index/pid/3/id/12.html
REDIRECT_SCRIPT_URL
/portal/list/index/pid/3/id/12.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
ZgZjOQoRABgAAJ05dP8AAAAH
REDIRECT_URL
/portal/list/index/pid/3/id/12.html
REMOTE_ADDR
3.238.12.0
REMOTE_PORT
56718
REQUEST_METHOD
GET
REQUEST_URI
/portal/list/index/pid/3/id/12.html
SCRIPT_FILENAME
/usr/home/hyu2460840001/htdocs/index.php
SCRIPT_NAME
/index.php
SCRIPT_URI
http://www.haiwaiguahao.com/portal/list/index/pid/3/id/12.html
SCRIPT_URL
/portal/list/index/pid/3/id/12.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
ZgZjOQoRABgAAJ05dP8AAAAH
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711694649.8534
REQUEST_TIME
1711694649
PATH_INFO
portal/list/index/pid/3/id/12.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
1711694649.8539
THINK_START_MEM
258064
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
DOMDOCUMENT
DOMDocument
DOMELEMENT
DOMElement
DOMNODELIST
DOMNodeList
DOMNODE
DOMNode
0.340228s