[8] ErrorException in Service.php line 293

未定义变量: next_id

  1. //获取上一篇
  2. if (isset($all_id[$key - 1])) {
  3. $pre_id = $all_id[$key - 1]['id'];
  4. } else {
  5. $pre_id = '';
  6. }
  7. }
  8. }
  9. if ($next_id != '') {
  10. $next_info = Db::name("viewpoints")->field('id,title')->where('isdelete', '0')->where('class', $info['class'])->where("id", $next_id)->find();
  11. } else {
  12. $next_info = '';
  13. }
  14. if ($pre_id != '') {
  15. $pre_info = Db::name("viewpoints")->field('id,title')->where('isdelete', '0')->where('class', $info['class'])->where("id", $pre_id)->find();
  16. } else {
  17. $pre_info = '';

Call Stack

  1. in Service.php line 293
  2. at Error::appError(8, 'Undefined variable: ...', '/mnt/wwwroot/jhc.huu...', 293, ['web_info' => ['id' => 1, 'web_name' => '进化策', 'switch' => 1, ...], 'id' => '14', 'info' => object(Viewpoints), ...]) in Service.php line 293
  3. at Service->viewInfo()
  4. at ReflectionMethod->invokeArgs(object(Service), []) in App.php line 224
  5. at App::invokeMethod([object(Service), 'viewInfo'], []) in App.php line 390
  6. at App::module(['home', 'Service', 'viewInfo'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 130
  7. at App::run() in start.php line 18
  8. at require('/mnt/wwwroot/jhc.huu...') in index.php line 18

Exception Datas

Error Context
web_info { "id": 1, "web_name": "\u8fdb\u5316\u7b56", "switch": 1, "domain": "", "web_key": "\u8fdb\u5316\u7b56,\u6d88\u8d39\u884c\u4e3a\u8bbe\u8ba1,\u6d88\u8d39\u884c\u4e3a\u7814\u7a76", "description": "", "web_num": "\u95fdICP\u590716012275\u53f7", "tel": "0592-5785503", "tel2": "", "myqq": "", "myqq2": "", "copright": "©2019 \u53a6\u95e8\u8fdb\u5316\u7b56\u7ba1\u7406\u54a8\u8be2\u6709\u9650\u516c\u53f8 All Rights Reserved. ", "zip_code": "", "email": "info@manage-evo.com", "address": "\u798f\u5efa\u7701\u53a6\u95e8\u5e02\u601d\u660e\u533a\u89c2\u97f3\u5c71\u8425\u8fd0\u4e2d\u5fc37\u53f7\u697c904-1", "en_company": "", "company": "\u53a6\u95e8\u8fdb\u5316\u7b56\u7ba1\u7406\u54a8\u8be2\u6709\u9650\u516c\u53f8", "fox": "", "company_url": "", "sina_blog": "www.baidu.com", "qq_blog": "", "weixin": "", "weixin_img": "images\/er.jpg", "taobao": "", "taobao_img": "images\/er.jpg", "numm": "", "tonji": "", "notice": "", "weibo_img": "images\/er.jpg", "logo_img": "\/public\/attachment\/images\/20210824\/0e4c614606b01dbb5dcd67b5ac380775.png", "e_smtp": "smtp.163.com", "e_mail": "", "e_mail_name": "", "e_pw": "ad54347471", "e_port": 25, "space_size": 7, "limit_size": 400, "video": "", "video_img": "", "multiple": 20, "is_multiple": 0, "s_time": 0, "e_time": 0, "is_gmultiple": 1, "s_gtime": 0, "e_gtime": 0, "m_time": 1551414974, "d_time": 1475164800, "address1": "", "r_tel": "021-80325820\r\n18600071105\uff08\u6295\u8bc9\u4e13\u7528\uff09", "r_email": "jiandu@yango.com.cn", "r_address": "\u4e0a\u6d77\u5e02·\u5317\u5916\u6ee9·\u6768\u6811\u6d66\u8def1058\u53f7\u9633\u5149\u63a7\u80a1\u5927\u53a619\u5c42\u9633\u5149\u63a7\u80a1\u5ba1\u8ba1\u90e8", "r_zipcode": "200086", "r_title": "\u9633\u5149\u5ec9\u6d01\u4e3e\u62a5", "r_content": "\u53d7\u7406\u8303\u56f4\uff1a\u53d7\u7406\u5458\u5de5\u8fdd\u89c4\u8fdd\u7eaa\u884c\u4e3a\u4e3e\u62a5\uff0c\u5176\u4ed6\u6295\u8bc9\u8bf7\u901a\u8fc7\u5ba2\u6237\u670d\u52a1\u89e3\u51b3", "status": 1, "web_num1": "", "isdelete": 0, "r_titleEn": "Hi Class", "r_title1": "11", "wx_img": "\/public\/attachment\/images\/20210826\/e9a0c3ef090eb59a6ad991ea6c389b4a.jpg", "wx_img1": "\/public\/attachment\/images\/20190418\/82f8429df1dda6e0a69f4f6328b2dd33.png", "wx_img2": "\/public\/attachment\/images\/20190418\/a03e00bb5c43838666de9d4d964977bd.jpg", "wx_txt": "\u6296\u97f3", "wx_intro": "", "wx_txt1": "", "wx_intro1": "" }
id 14
info { "hot": null, "id": 14, "class": 24, "title": "\u52a8\u6001|\u8fdb\u5316\u7b56\u4e0e\u9e3f\u661f\u5c14\u514b\u96c6\u56e2\u603b\u90e8\u987a\u5229\u5b8c\u6210\u57f9\u8bad\u5408\u4f5c", "descs": null, "keywords": "", "intro": "", "pic": "\/public\/attachment\/images\/20190624\/a1c05a909f7214cd77d35e1340a0351c.jpg", "add_time": 1543999260, "status": 1, "is_top": 0, "isdelete": 1, "recommend": 0, "seo_title": "", "description": "", "source": "\u8fdb\u5316\u7b56", "sort": 999, "writer": "\u8fdb\u5316\u7b56", "images": null, "view": 1644, "content": "<p>2018\u5e7412\u67084\u65e5\uff0c\u8fdb\u5316\u7b56\u7684\u90d1\u743c\u534e\u5973\u58eb\u53d7\u9080\u4e3a\u9e3f\u661f\u5c14\u514b\u96c6\u56e2\u5f00\u8bfe\u3002\u672c\u6b21\u8bfe\u7a0b\u4e3a\u300a\u6253\u5f00\u5e74\u7ec8\u603b\u7ed3\u3001\u5e74\u5ea6\u89c4\u5212\u7684\u6b63\u786e\u59ff\u52bf\u300b\uff0c\u5b66\u5458\u5bf9\u8c61\u4e3a\u9e3f\u661f\u5c14\u514b\u96c6\u56e2\u603b\u90e8\u7684\u5404\u90e8\u95e8\u4e3b\u7ba1\u4eba\u5458\u3002<\/p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; color: rgb(57, 57, 57); font-family: Lato, sans-serif; font-size: 15px; letter-spacing: 0px; line-height: 25px; white-space: normal; background-color: rgb(255, 255, 255);\"><br style=\"box-sizing: border-box;\"\/><\/p><p style=\"text-align:center\"><img src=\"\/ueditor\/php\/upload\/image\/20190806\/1565056773568925.jpg\" title=\"1565056773568925.jpg\" alt=\"1.jpg\"\/><\/p><p><br\/><\/p><p>\u8bfe\u7a0b\u5f00\u59cb\u524d\uff0c\u8fdb\u5316\u7b56\u8fdb\u884c\u4e86\u5145\u5206\u5730\u8bad\u524d\u8c03\u7814\uff0c\u4e86\u89e3\u4e86\u5b66\u5458\u4eec\u5728\u8fdb\u884c\u5e74\u7ec8\u603b\u7ed3\u548c\u5e74\u5ea6\u89c4\u5212\u65f6\u9047\u5230\u7684\u79cd\u79cd\u56f0\u60d1\uff0c\u4e5f\u5411\u76f8\u5173\u9886\u5bfc\u4e86\u89e3\u96c6\u56e2\u5bf9\u4e8e\u6b64\u6b21\u8bfe\u7a0b\u7684\u671f\u671b\u4e0e\u8981\u6c42\u3002<\/p><p><br style=\"box-sizing: border-box;\"\/><\/p><p>\u6b64\u6b21\u8bfe\u7a0b\u7684\u4e3b\u8bb2\u4eba\u90d1\u743c\u534e\u5973\u58eb\uff0c\u62e5\u6709\u591a\u5e74\u7684\u8de8\u56fd\u96c6\u56e2\u9ad8\u7ba1\u548c\u7ba1\u7406\u54a8\u8be2\u7ecf\u5386\uff0c\u5bf9\u4e8e\u603b\u7ed3\u4e0e\u89c4\u5212\u6709\u7740\u6df1\u523b\u5730\u7406\u89e3\u3002\u5728\u8bfe\u5802\u4e0a\uff0c\u90d1\u5973\u58eb\u7ed3\u5408\u81ea\u8eab\u7ecf\u9a8c\uff0c\u6df1\u5165\u6d45\u51fa\u5730\u4e3a\u5728\u573a\u5b66\u5458\u8bb2\u89e3\u4e86\u603b\u7ed3\u548c\u89c4\u5212\u7684\u5b9e\u8d28\uff0c\u4e5f\u4e3a\u5b66\u5458\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6280\u5de7\u548c\u7d20\u6750\u3002<\/p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; color: rgb(57, 57, 57); font-family: Lato, sans-serif; font-size: 15px; letter-spacing: 0px; line-height: 25px; white-space: normal; background-color: rgb(255, 255, 255);\"><br style=\"box-sizing: border-box;\"\/><\/p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; color: rgb(57, 57, 57); font-family: Lato, sans-serif; font-size: 15px; letter-spacing: 0px; line-height: 25px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center;\"><img src=\"http:\/\/www.manage-evo.com\/ueditor\/php\/upload\/image\/20190703\/1562126291450379.jpg\" title=\"1562126291450379.jpg\" alt=\"(23)750&times;460.jpg\" style=\"color: rgb(57, 57, 57); font-family: \u7b49\u7ebf; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);\"\/><\/p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; color: rgb(57, 57, 57); font-family: Lato, sans-serif; font-size: 15px; letter-spacing: 0px; line-height: 25px; white-space: normal; background-color: rgb(255, 255, 255);\"><br style=\"box-sizing: border-box;\"\/><\/p><p>\u8bfe\u7a0b\u4e2d\u95f4\u7cbe\u5fc3\u8bbe\u7f6e\u4e86\u5f88\u591a\u7ec3\u4e60\u73af\u8282\uff0c\u8fdb\u5316\u7b56\u575a\u6301\u57f9\u8bad\u4e0e\u4e1a\u52a1\u76f8\u7ed3\u5408\uff0c\u4e0d\u505a\u77e5\u8bc6\u7684\u642c\u8fd0\u5de5\uff0c\u4e0d\u589e\u52a0\u5b66\u5458\u8fdb\u884c\u77e5\u8bc6\u8f6c\u5316\u7684\u96be\u5ea6\u3002<\/p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; color: rgb(57, 57, 57); font-family: Lato, sans-serif; font-size: 15px; letter-spacing: 0px; line-height: 25px; white-space: normal; background-color: rgb(255, 255, 255);\"><br style=\"box-sizing: border-box;\"\/><\/p><p>\u8bfe\u5802\u6548\u679c\u53d7\u5230\u4e86\u5b66\u5458\u548c\u96c6\u56e2\u9886\u5bfc\u7684\u70ed\u70c8\u8d5e\u8d4f\u3002<\/p><p><br style=\"box-sizing: border-box;\"\/><\/p><p>\u5e0c\u671b\u8fdb\u5316\u7b56\u5728\u672a\u6765\u53ef\u4ee5\u4e0e\u9e3f\u661f\u5c14\u514b\u8fd9\u6837\u4f18\u79c0\u7684\u798f\u5efa\u4f01\u4e1a\u7ed3\u6210\u66f4\u591a\u5408\u4f5c\u3002<\/p><p><br\/><\/p><p><strong><span style=\"font-size: 20px; font-family: \u5fae\u8f6f\u96c5\u9ed1, \"Microsoft YaHei\";\">\u76f8\u5173\u63a8\u8350\uff1a<\/span><\/strong><\/p><p><strong><span style=\"font-size: 20px; font-family: \u5fae\u8f6f\u96c5\u9ed1, \"Microsoft YaHei\";\"><\/span><\/strong><\/p><p><a href=\"http:\/\/www.manage-evo.com\/viewInfo\/13\" target=\"_blank\" style=\"text-decoration: underline; font-size: 18px; color: rgb(84, 141, 212);\"><span style=\"font-size: 18px; color: rgb(84, 141, 212);\">\u52a8\u6001|\u8fdb\u5316\u7b56&nbsp; \u4e03\u5339\u72fc\u96c6\u56e2\u603b\u90e8\u57f9\u8bad&nbsp; &nbsp;<\/span><\/a><\/p><p><a href=\"http:\/\/www.manage-evo.com\/viewInfo\/17\" target=\"_blank\" style=\"text-decoration: underline; font-size: 18px; color: rgb(84, 141, 212);\"><span style=\"font-size: 18px; color: rgb(84, 141, 212);\">\u89c2\u70b9| \u5458\u5de5\u57f9\u8bad, \u662f&ldquo;\u9001\u51fa\u53bb&rdquo;\u8fd8\u662f&ldquo;\u8bf7\u8fdb\u6765&rdquo;&nbsp;<\/span><\/a><\/p><p><br\/><\/p><p><br\/><\/p><p><br\/><\/p>", "area_id": 0, "key": "\u52a8\u6001\uff0c\u57f9\u8bad\uff0c\u9e3f\u661f\u5c14\u514b", "pic1": "\/public\/attachment\/images\/20190801\/bef263699ced0569ba1fdec2b65ad494.jpg", "cate_id": 0 }
class { "id": 24, "name": "\u884c\u4e3a\u8d8b\u52bf\u89c2\u5bdf", "nameEn": "train", "keywords": "", "description": "", "parent_id": 22, "sort": 0, "url": "", "pic": "", "is_show": 1, "is_home": 0, "is_delete": 0, "thumb": null, "is_hot": 0, "is_common": 0, "isdelete": 0, "content": null, "strsize": null, "intro": null, "inrro1": null, "key": "", "seo_title": "", "images": null, "str1size": null, "key1": null, "is_page": 0, "urlid": 0, "status": 1, "seo_titleEn": null, "descriptionEn": null, "keywordsEn": null }
seo_info { "title": "\u52a8\u6001|\u8fdb\u5316\u7b56\u4e0e\u9e3f\u661f\u5c14\u514b\u96c6\u56e2\u603b\u90e8\u987a\u5229\u5b8c\u6210\u57f9\u8bad\u5408\u4f5c", "keywords": "\u8fdb\u5316\u7b56,\u6d88\u8d39\u884c\u4e3a\u8bbe\u8ba1,\u6d88\u8d39\u884c\u4e3a\u7814\u7a76", "description": "" }
art_id 14
all_id [ { "id": 28, "title": "\u9910\u996e\u5e02\u573a\u5b9a\u4f4d\u4e0e\u52a8\u673a\u654f\u611f\u70b9" }, { "id": 27, "title": "\u5ba0\u7269\u4e3b\u7cae\u8fd9\u4e2a\u5e02\u573a\u8fd8\u6765\u5f97\u53ca\u6740\u5165\u5417\uff1f" }, { "id": 6, "title": "\u89c2\u70b9|&ldquo;\u5c0f\u7b56&rdquo;\u6d88\u8d39\u884c\u4e3a\u6d4b\u8bc4\u7cfb\u5217&mdash;&mdash;\u7f51\u6613\u4e91\u97f3\u4e50\u7528\u6237\u504f\u597d\u6d4b\u8bc4" } ]
key 2
value { "id": 6, "title": "\u89c2\u70b9|&ldquo;\u5c0f\u7b56&rdquo;\u6d88\u8d39\u884c\u4e3a\u6d4b\u8bc4\u7cfb\u5217&mdash;&mdash;\u7f51\u6613\u4e91\u97f3\u4e50\u7528\u6237\u504f\u597d\u6d4b\u8bc4" }

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/mnt/wwwroot/jhc.huudon.cn/index.php
QUERY_STRING
s=/viewInfo/14
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/viewInfo/14
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/mnt/wwwroot/jhc.huudon.cn
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.16.1
REMOTE_ADDR
54.224.124.217
REMOTE_PORT
42876
SERVER_ADDR
172.18.169.252
SERVER_PORT
80
SERVER_NAME
www.manage-evo.com
REDIRECT_STATUS
200
PATH_INFO
/viewInfo/14
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
www.manage-evo.com
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711664608.1803
REQUEST_TIME
1711664608
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/mnt/wwwroot/jhc.huudon.cn/application/
THINK_VERSION
5.0.12
THINK_START_TIME
1711664608.1809
THINK_START_MEM
259112
EXT
.php
DS
/
THINK_PATH
/mnt/wwwroot/jhc.huudon.cn/thinkphp/
LIB_PATH
/mnt/wwwroot/jhc.huudon.cn/thinkphp/library/
CORE_PATH
/mnt/wwwroot/jhc.huudon.cn/thinkphp/library/think/
TRAIT_PATH
/mnt/wwwroot/jhc.huudon.cn/thinkphp/library/traits/
ROOT_PATH
/mnt/wwwroot/jhc.huudon.cn/
EXTEND_PATH
/mnt/wwwroot/jhc.huudon.cn/extend/
VENDOR_PATH
/mnt/wwwroot/jhc.huudon.cn/vendor/
RUNTIME_PATH
/mnt/wwwroot/jhc.huudon.cn/runtime/
LOG_PATH
/mnt/wwwroot/jhc.huudon.cn/runtime/log/
CACHE_PATH
/mnt/wwwroot/jhc.huudon.cn/runtime/cache/
TEMP_PATH
/mnt/wwwroot/jhc.huudon.cn/runtime/temp/
CONF_PATH
/mnt/wwwroot/jhc.huudon.cn/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
QINIU_FUNCTIONS_VERSION
7.2.2