[8] ErrorException in Service.php line 173

未定义变量: 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("Products")->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("Products")->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 173
  2. at Error::appError(8, 'Undefined variable: ...', '/mnt/wwwroot/jhc.huu...', 173, ['web_info' => ['id' => 1, 'web_name' => '进化策', 'switch' => 1, ...], 'id' => '12', 'info' => object(Products), ...]) in Service.php line 173
  3. at Service->proInfo()
  4. at ReflectionMethod->invokeArgs(object(Service), []) in App.php line 224
  5. at App::invokeMethod([object(Service), 'proInfo'], []) in App.php line 390
  6. at App::module(['home', 'Service', 'proInfo'], ['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 12
info { "hot": "", "id": 12, "class": 23, "title": "\u4ea7\u54c1|\u65b0\u54c1\u724c\u5efa\u8bbe", "descs": null, "keywords": "", "intro": "\u6d88\u8d39\u884c\u4e3a\u8bbe\u8ba1", "pic": "\/public\/attachment\/images\/20190703\/c91ff1c533d5078ec1b00c778303db9b.jpg", "add_time": 1561085107, "status": 1, "is_top": 0, "isdelete": 1, "recommend": 1, "seo_title": "", "description": "", "source": "\u8fdb\u5316\u7b56", "sort": 0, "writer": "\u8fdb\u5316\u7b56", "images": null, "view": 1954, "content": "<p><strong><span style=\"font-size: 18px;\">\u9002\u7528\u4e8e\u89e3\u51b3\u8fd9\u6837\u7684\u95ee\u9898\uff1a<\/span><\/strong><\/p><ul class=\" list-paddingleft-2\" style=\"list-style-type: disc;\"><li><p>\u5c1d\u8bd5\u505a\u4e2a\u65b0\u54c1\u724c\uff0c<span style=\"color: rgb(227, 108, 9);\"><strong>\u6ca1\u7ecf\u9a8c<\/strong><\/span>\uff0c\u4e0d\u77e5\u4ece\u4f55\u4e0b\u624b<\/p><\/li><li><p><span style=\"color: rgb(227, 108, 9);\"><strong>\u5347\u7ea7<\/strong><\/span>\u5df2\u6709\u54c1\u724c<\/p><\/li><li><p>\u89c4\u5212\u65b0\u7684<span style=\"color: rgb(227, 108, 9);\"><strong>\u54c1\u724c\u5b9a\u4f4d<\/strong><\/span><\/p><\/li><li><p>\u65b0\u54c1\u724c\u51b7\u542f\u52a8\uff0c<span style=\"color: rgb(227, 108, 9);\"><strong>\u5e02\u573a\u63a8\u5e7f<\/strong><\/span>\u600e\u4e48\u505a<\/p><\/li><\/ul><p>&nbsp;<\/p><p><br\/><\/p><p><strong><span style=\"font-size: 18px;\">\u8fdb\u5316\u7b56\u80fd\u591f\u63d0\u4f9b\uff1a<\/span><\/strong><\/p><p>\u8fdb\u5316\u7b56\u62e5\u6709\u6210\u719f\u7684\u54c1\u724c\u5efa\u8bbe\u65b9\u6cd5\u8bba\u548c\u4e30\u5bcc\u7684\u7b56\u5212\u7ecf\u9a8c\u3002\u6211\u4eec<span style=\"color: rgb(227, 108, 9);\"><strong>\u53ef\u4ee5\u63d0\u4f9b<\/strong><\/span>\uff1a<\/p><ul class=\" list-paddingleft-2\" style=\"list-style-type: disc;\"><li><p><span style=\"color: rgb(227, 108, 9);\"><strong>\u54c1\u724c\u5b9a\u4f4d<\/strong><\/span>\uff0c\u901a\u8fc7\u5927\u6570\u636e\u5206\u6790\uff0c\u9501\u5b9a\u6709\u6f5c\u529b\u7684\u7a7a\u9699\u5e02\u573a<\/p><\/li><li><p><span style=\"color: rgb(227, 108, 9);\"><strong>\u54c1\u724c\u6218\u7565<\/strong><\/span>\uff0c\u7b56\u5212\u54c1\u724c\u7684\u6838\u5fc3\u7cbe\u795e\uff0c\u6307\u5bfc\u5b9e\u65bd\u6218\u7565<\/p><\/li><li><p><span style=\"color: rgb(227, 108, 9);\"><strong>\u54c1\u724c\u89c6\u89c9<\/strong><\/span>\uff0c\u7b56\u5212\u54c1\u724c\u5f62\u8c61\uff0c\u5305\u62ec\u6807\u8bc6\u3001VI\u3001\u6807\u8bed\u7b49<\/p><\/li><li><p><span style=\"color: rgb(227, 108, 9);\"><strong>\u54c1\u724c\u63a8\u5e7f\u7b56\u5212<\/strong><\/span>\uff0c\u4f20\u64ad\u6e20\u9053\u7684\u9009\u62e9\u548c\u63a8\u5e7f\u65b9\u6848\u7684\u8bbe\u8ba1<\/p><\/li><li><p><span style=\"color: rgb(227, 108, 9);\"><strong>\u54c1\u724c\u6559\u7ec3<\/strong><\/span>\uff0c\u81ea\u6709\u54c1\u724c\u56e2\u961f\u5c1a\u4e0d\u6210\u719f\u65f6\uff0c\u63d0\u4f9b\u6559\u7ec3\u5f0f\u670d\u52a1<\/p><\/li><\/ul><p>&nbsp;<\/p><p><br\/><\/p><p><strong><span style=\"font-size: 18px;\">\u901a\u8fc7\u6211\u4eec\u7684\u670d\u52a1\uff0c\u60a8\u5c06\u83b7\u5f97\uff1a<\/span><\/strong><\/p><p>\u901a\u8fc7\u8fdb\u5316\u7b56\u7684\u54c1\u724c\u5efa\u8bbe\u670d\u52a1\uff0c\u60a8\u5c06\u83b7\u5f97\uff1a<\/p><ul class=\" list-paddingleft-2\" style=\"list-style-type: disc;\"><li><p>\u907f\u5f00\u6fc0\u70c8\u7ade\u4e89\uff0c\u627e\u5230<span style=\"color: rgb(227, 108, 9);\"><strong>\u84dd\u6d77\u5e02\u573a<\/strong><\/span><\/p><\/li><li><p>\u6d1e\u6089\u76ee\u6807\u4eba\u7fa4\u7684<span style=\"color: rgb(227, 108, 9);\"><strong>\u6d88\u8d39\u654f\u611f\u70b9<\/strong><\/span><\/p><\/li><li><p>\u901a\u6653\u7f51\u7edc\u65b0\u5a92\u4f53\uff0c\u5168\u7f51\u8425\u9500<span style=\"color: rgb(227, 108, 9);\"><strong>\u597d\u5e2e\u624b<\/strong><\/span><\/p><p><span style=\"color: rgb(227, 108, 9);\"><strong><span style=\"color: rgb(255, 192, 0);\"><\/span><\/strong><\/span><\/p><\/li><\/ul><p style=\"text-align: center;\"><br\/><\/p><p style=\"text-align: center;\"><img src=\"\/ueditor\/php\/upload\/image\/20190805\/1564991519840992.png\" title=\"1564991519840992.png\" alt=\"1.png\"\/><\/p><p><br\/><\/p><p><span style=\"box-sizing: border-box; font-weight: bolder; color: rgb(57, 57, 57); font-family: \u5fae\u8f6f\u96c5\u9ed1; background-color: rgb(255, 255, 255); overflow-wrap: break-word; font-size: 20px;\">\u76f8\u5173\u63a8\u8350<\/span><span style=\"box-sizing: border-box; overflow-wrap: break-word; color: rgb(57, 57, 57); font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 18px; font-weight: 700; background-color: rgb(255, 255, 255);\">\uff1a<\/span><\/p><p><a href=\"http:\/\/www.manage-evo.com\/proInfo\/9\" target=\"_self\" style=\"text-decoration: underline; font-size: 18px; color: rgb(0, 0, 0);\"><span style=\"font-size: 18px; color: rgb(0, 0, 0);\"><\/span><\/a><\/p><p><a href=\"http:\/\/www.manage-evo.com\/proInfo\/9\" target=\"_blank\" style=\"font-size: 18px; color: rgb(84, 141, 212); text-decoration: underline;\"><span style=\"font-size: 18px; color: rgb(84, 141, 212);\">\u4ea7\u54c1|\u5e02\u573a\u673a\u4f1a\u8bc4\u4ef7<\/span><\/a><\/p><p><a href=\"http:\/\/www.manage-evo.com\/proInfo\/8\" target=\"_blank\" style=\"color: rgb(84, 141, 212); text-decoration: underline;\"><span style=\"font-size: 18px; color: rgb(84, 141, 212);\">\u4ea7\u54c1|\u6d88\u8d39\u8005\u5173\u7cfb\u76d1\u6d4b&nbsp;<\/span><\/a><\/p><p><a href=\"http:\/\/www.manage-evo.com\/proInfo\/5\" target=\"_blank\" style=\"color: rgb(84, 141, 212); text-decoration: underline;\"><span style=\"font-size: 18px; color: rgb(84, 141, 212);\">\u4ea7\u54c1|\u6d88\u8d39\u969c\u788d\u79fb\u9664&nbsp;<\/span><\/a><\/p><p><br\/><\/p><p><br\/><\/p><p style=\"text-align: center;\"><img src=\"\/ueditor\/php\/upload\/image\/20190801\/1564646071391722.jpg\" title=\"1564646071391722.jpg\" alt=\"\u4e1a\u52a1\u4e0b\u6807.jpg\"\/><\/p><p><br\/><\/p><p><br\/><\/p>", "area_id": 0, "key": "\u6d88\u8d39\u884c\u4e3a\u8bbe\u8ba1\uff0c\u8425\u9500\uff0c\u65b0\u54c1\u724c\uff0c\u54c1\u724c\u7b56\u5212", "pic1": "\/public\/attachment\/images\/20190704\/2364e44cdf1bf45d43657386a429ec0d.jpg", "cate_id": 0 }
class { "id": 23, "name": "\u4ea7\u54c1\u4e0e\u670d\u52a1", "nameEn": "design", "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": "\u4ea7\u54c1|\u65b0\u54c1\u724c\u5efa\u8bbe", "keywords": "\u8fdb\u5316\u7b56,\u6d88\u8d39\u884c\u4e3a\u8bbe\u8ba1,\u6d88\u8d39\u884c\u4e3a\u7814\u7a76", "description": "" }
art_id 12
all_id []

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=/proInfo/12
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/proInfo/12
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
3.239.52.235
REMOTE_PORT
36452
SERVER_ADDR
172.18.169.252
SERVER_PORT
80
SERVER_NAME
www.manage-evo.com
REDIRECT_STATUS
200
PATH_INFO
/proInfo/12
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
manage-evo.com
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711700247.8301
REQUEST_TIME
1711700247
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/mnt/wwwroot/jhc.huudon.cn/application/
THINK_VERSION
5.0.12
THINK_START_TIME
1711700247.8307
THINK_START_MEM
259088
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