[8] ErrorException in 073db0cf2bd5dd722ae4f92c3081b6b2.php line 420

未定义数组索引: pic

  1. <section>
  2. <div id="newDetail" class="new-container ">
  3. <div class="new-detail">
  4. <div class="det-item">
  5. <div class="det-item-left">
  6. <div class="det-left-picture">
  7. <!--<div class="det-left-sign"><span class="det-left-type">深度游</span> <span class="det-left-mode">水果采摘</span>
  8. </div>-->
  9. <?php $pic = json_decode($info['pic'], true); ?>
  10. <div class="det-left-img"><img src="__PUBLIC__/<?php echo $pic[0]; ?>" alt=""></div>
  11. <ul>
  12. <?php if(!(empty($pic) || (($pic instanceof \think\Collection || $pic instanceof \think\Paginator ) && $pic->isEmpty()))): if(is_array($pic) || $pic instanceof \think\Collection || $pic instanceof \think\Paginator): if( count($pic)==0 ) : echo "" ;else: foreach($pic as $key=>$val): if($key == '0'): ?>
  13. <li><i style="display: inline;"></i><img src="__PUBLIC__/<?php echo $val; ?>" alt=""></li>
  14. <?php else: ?>
  15. <li><i></i><img src="__PUBLIC__/<?php echo $val; ?>" alt=""></li>
  16. <?php endif; endforeach; endif; else: echo "" ;endif; endif; ?>
  17. </ul>
  18. </div>

Call Stack

  1. in 073db0cf2bd5dd722ae4f92c3081b6b2.php line 420
  2. at Error::appError(8, 'Undefined index: pic', '/www/wwwroot/shuizhi...', 420, ['cacheFile' => '/www/wwwroot/shuizhi...', 'vars' => ['_config' => ['cfg_web_name' => '...', 'cfg_web_url' => 'http://www.shuizhidu...', 'cfg_copyright' => 'CopyRight ©2017-201...', ...], '_type' => [['name' => '国内长线游', 'id' => 18], ['name' => '...', 'id' => 25], ['name' => '周边短途', 'id' => 17], ...], '_news' => [['id' => 17, 'pid' => 0, 'name' => '户外资讯', ...], ['id' => 18, 'pid' => 0, 'name' => '装备频道', ...], ['id' => 19, 'pid' => 0, 'name' => '游记攻略', ...], ...], ...], '_config' => ['cfg_web_name' => '...', 'cfg_web_url' => 'http://www.shuizhidu...', 'cfg_copyright' => 'CopyRight ©2017-201...', ...], ...]) in 073db0cf2bd5dd722ae4f92c3081b6b2.php line 420
  3. at include('/www/wwwroot/shuizhi...') in File.php line 50
  4. at File->read('/www/wwwroot/shuizhi...', ['_config' => ['cfg_web_name' => '...', 'cfg_web_url' => 'http://www.shuizhidu...', 'cfg_copyright' => 'CopyRight ©2017-201...', ...], '_type' => [['name' => '国内长线游', 'id' => 18], ['name' => '...', 'id' => 25], ['name' => '周边短途', 'id' => 17], ...], '_news' => [['id' => 17, 'pid' => 0, 'name' => '户外资讯', ...], ['id' => 18, 'pid' => 0, 'name' => '装备频道', ...], ['id' => 19, 'pid' => 0, 'name' => '游记攻略', ...], ...], ...]) in Template.php line 197
  5. at Template->fetch('/www/wwwroot/shuizhi...', ['_config' => ['cfg_web_name' => '...', 'cfg_web_url' => 'http://www.shuizhidu...', 'cfg_copyright' => 'CopyRight ©2017-201...', ...], '_type' => [['name' => '国内长线游', 'id' => 18], ['name' => '...', 'id' => 25], ['name' => '周边短途', 'id' => 17], ...], '_news' => [['id' => 17, 'pid' => 0, 'name' => '户外资讯', ...], ['id' => 18, 'pid' => 0, 'name' => '装备频道', ...], ['id' => 19, 'pid' => 0, 'name' => '游记攻略', ...], ...], ...], []) in Think.php line 84
  6. at Think->fetch('', ['_config' => ['cfg_web_name' => '...', 'cfg_web_url' => 'http://www.shuizhidu...', 'cfg_copyright' => 'CopyRight ©2017-201...', ...], '_type' => [['name' => '国内长线游', 'id' => 18], ['name' => '...', 'id' => 25], ['name' => '周边短途', 'id' => 17], ...], '_news' => [['id' => 17, 'pid' => 0, 'name' => '户外资讯', ...], ['id' => 18, 'pid' => 0, 'name' => '装备频道', ...], ['id' => 19, 'pid' => 0, 'name' => '游记攻略', ...], ...], ...], []) in View.php line 160
  7. at View->fetch('', [], []) in View.php line 36
  8. at View->output('') in Response.php line 311
  9. at Response->getContent() in Response.php line 96
  10. at Response->send() in start.php line 18
  11. at require('/www/wwwroot/shuizhi...') in index.php line 17

Exception Datas

Error Context
cacheFile
/www/wwwroot/shuizhidui.com/runtime/temp/073db0cf2bd5dd722ae4f92c3081b6b2.php
vars
{ "_config": { "cfg_web_name": "\u54c8\u5c14\u6ee8\u6c34\u4e4b\u961f\u6237\u5916\u65c5\u6e38\u6709\u9650\u516c\u53f8", "cfg_web_url": "http:\/\/www.shuizhidui.com", "cfg_copyright": "CopyRight \u00a92017-2018 \u7248\u6743\u6240\u6709 \u54c8\u5c14\u6ee8\u6c34\u4e4b\u961f\u6237\u5916\u65c5\u6e38\u6709\u9650\u516c\u53f8", "cfg_hot_line": "400-600-0006", "cfg_img_type": "jpg,jpeg,png,gif", "cfg_img_size": "2048000", "cfg_stats_code": "&lt;div style=&quot;display: none;&quot;&gt;\r\n&lt;script type=&quot;text\/javascript&quot; src=&quot;\/\/js.users.51.la\/19485199.js&quot;&gt;&lt;\/script&gt;\r\n&lt;script src=&quot;https:\/\/s19.cnzz.com\/z_stat.php?id=1273786105&amp;web_id=1273786105&quot; language=&quot;JavaScript&quot;&gt;&lt;\/script&gt;\r\n&lt;\/div&gt;\r\n&lt;br&gt;\r\n&lt;br&gt;\r\n&lt;br&gt;", "cfg_wechat_appid": "wxa8b88046331f3541", "cfg_wechat_secret": "58b3353803b629b75612ca7cf125c65f", "cfg_wechat_mchid": "1360876202", "cfg_wechat_key": "pRbR2XiQg8lSkRJGqrLioJ9rzPkn4HEg", "cfg_web_path": "\/", "cfg_technical_support": "", "cfg_sms_username": "", "cfg_sms_pass": "", "cfg_icp": "\u9ed1ICP\u590717008204\u53f7", "cfg_baoxian_partnerld": "1010417", "cfg_baoxian_key": "ONY2ZkMTdkYzg3YTU1010417", "cfg_baoxian_url": "https:\/\/travelapi.qixin18.com\/api\/", "cfg_seo_title": "\u6c34\u4e4b\u961f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6c34\u4e4b\u961f\u6237\u5916\u65c5\u6e38\u6709\u9650\u516c\u53f8|\u9ed1\u9f99\u6c5f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u62d3\u5c55\u8bad\u7ec3", "cfg_seo_keywords": "\u6c34\u4e4b\u961f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6c34\u4e4b\u961f\u6237\u5916\u65c5\u6e38\u6709\u9650\u516c\u53f8|\u9ed1\u9f99\u6c5f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u62d3\u5c55\u8bad\u7ec3", "cfg_seo_desc": "\u6c34\u4e4b\u961f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6c34\u4e4b\u961f\u6237\u5916\u65c5\u6e38\u6709\u9650\u516c\u53f8|\u9ed1\u9f99\u6c5f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u62d3\u5c55\u8bad\u7ec3" }, "_type": [ { "name": "\u56fd\u5185\u957f\u7ebf\u6e38", "id": 18 }, { "name": "\u4e24\u81f3\u4e03\u65e5\u4e2d\u957f\u7ebf", "id": 25 }, { "name": "\u5468\u8fb9\u77ed\u9014", "id": 17 }, { "name": "\u5883\u5916\u8de8\u56fd\u6e38", "id": 19 } ], "_news": [ { "id": 17, "pid": 0, "name": "\u6237\u5916\u8d44\u8baf", "status": 1, "posttime": 1510902669, "orderid": 1 }, { "id": 18, "pid": 0, "name": "\u88c5\u5907\u9891\u9053", "status": 1, "posttime": 1510901996, "orderid": 2 }, { "id": 19, "pid": 0, "name": "\u6e38\u8bb0\u653b\u7565", "status": 1, "posttime": 1510902066, "orderid": 3 }, { "id": 20, "pid": 0, "name": "\u6237\u5916\u77e5\u8bc6", "status": 1, "posttime": 1510902089, "orderid": 4 } ], "_ftype": [ { "id": 17, "pid": 0, "name": "\u5173\u4e8e\u6211\u4eec", "status": 1, "checkinfo": 1, "posttime": 1512028635, "orderid": 1 }, { "id": 18, "pid": 0, "name": "\u5e2e\u52a9\u4e2d\u5fc3", "status": 1, "checkinfo": 1, "posttime": 1512028647, "orderid": 2 }, { "id": 19, "pid": 0, "name": "\u5b9e\u7528\u5de5\u5177", "status": 1, "checkinfo": 1, "posttime": 1512028667, "orderid": 3 } ], "hot_ac": [], "mem": [], "leader": null, "aggregate": [], "leader_info": null, "ways": [], "info": null, "go_time": [] }
_config
{ "cfg_web_name": "\u54c8\u5c14\u6ee8\u6c34\u4e4b\u961f\u6237\u5916\u65c5\u6e38\u6709\u9650\u516c\u53f8", "cfg_web_url": "http:\/\/www.shuizhidui.com", "cfg_copyright": "CopyRight \u00a92017-2018 \u7248\u6743\u6240\u6709 \u54c8\u5c14\u6ee8\u6c34\u4e4b\u961f\u6237\u5916\u65c5\u6e38\u6709\u9650\u516c\u53f8", "cfg_hot_line": "400-600-0006", "cfg_img_type": "jpg,jpeg,png,gif", "cfg_img_size": "2048000", "cfg_stats_code": "&lt;div style=&quot;display: none;&quot;&gt;\r\n&lt;script type=&quot;text\/javascript&quot; src=&quot;\/\/js.users.51.la\/19485199.js&quot;&gt;&lt;\/script&gt;\r\n&lt;script src=&quot;https:\/\/s19.cnzz.com\/z_stat.php?id=1273786105&amp;web_id=1273786105&quot; language=&quot;JavaScript&quot;&gt;&lt;\/script&gt;\r\n&lt;\/div&gt;\r\n&lt;br&gt;\r\n&lt;br&gt;\r\n&lt;br&gt;", "cfg_wechat_appid": "wxa8b88046331f3541", "cfg_wechat_secret": "58b3353803b629b75612ca7cf125c65f", "cfg_wechat_mchid": "1360876202", "cfg_wechat_key": "pRbR2XiQg8lSkRJGqrLioJ9rzPkn4HEg", "cfg_web_path": "\/", "cfg_technical_support": "", "cfg_sms_username": "", "cfg_sms_pass": "", "cfg_icp": "\u9ed1ICP\u590717008204\u53f7", "cfg_baoxian_partnerld": "1010417", "cfg_baoxian_key": "ONY2ZkMTdkYzg3YTU1010417", "cfg_baoxian_url": "https:\/\/travelapi.qixin18.com\/api\/", "cfg_seo_title": "\u6c34\u4e4b\u961f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6c34\u4e4b\u961f\u6237\u5916\u65c5\u6e38\u6709\u9650\u516c\u53f8|\u9ed1\u9f99\u6c5f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u62d3\u5c55\u8bad\u7ec3", "cfg_seo_keywords": "\u6c34\u4e4b\u961f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6c34\u4e4b\u961f\u6237\u5916\u65c5\u6e38\u6709\u9650\u516c\u53f8|\u9ed1\u9f99\u6c5f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u62d3\u5c55\u8bad\u7ec3", "cfg_seo_desc": "\u6c34\u4e4b\u961f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6c34\u4e4b\u961f\u6237\u5916\u65c5\u6e38\u6709\u9650\u516c\u53f8|\u9ed1\u9f99\u6c5f\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u6237\u5916\u7f51|\u54c8\u5c14\u6ee8\u62d3\u5c55\u8bad\u7ec3" }
_type
[ { "name": "\u56fd\u5185\u957f\u7ebf\u6e38", "id": 18 }, { "name": "\u4e24\u81f3\u4e03\u65e5\u4e2d\u957f\u7ebf", "id": 25 }, { "name": "\u5468\u8fb9\u77ed\u9014", "id": 17 }, { "name": "\u5883\u5916\u8de8\u56fd\u6e38", "id": 19 } ]
_news
[ { "id": 17, "pid": 0, "name": "\u6237\u5916\u8d44\u8baf", "status": 1, "posttime": 1510902669, "orderid": 1 }, { "id": 18, "pid": 0, "name": "\u88c5\u5907\u9891\u9053", "status": 1, "posttime": 1510901996, "orderid": 2 }, { "id": 19, "pid": 0, "name": "\u6e38\u8bb0\u653b\u7565", "status": 1, "posttime": 1510902066, "orderid": 3 }, { "id": 20, "pid": 0, "name": "\u6237\u5916\u77e5\u8bc6", "status": 1, "posttime": 1510902089, "orderid": 4 } ]
_ftype
[ { "id": 17, "pid": 0, "name": "\u5173\u4e8e\u6211\u4eec", "status": 1, "checkinfo": 1, "posttime": 1512028635, "orderid": 1 }, { "id": 18, "pid": 0, "name": "\u5e2e\u52a9\u4e2d\u5fc3", "status": 1, "checkinfo": 1, "posttime": 1512028647, "orderid": 2 }, { "id": 19, "pid": 0, "name": "\u5b9e\u7528\u5de5\u5177", "status": 1, "checkinfo": 1, "posttime": 1512028667, "orderid": 3 } ]
hot_ac
[]
mem
[]
leader
Resource
aggregate
[]
leader_info
Resource
ways
[]
info
{ "leixing": [ "" ] }
go_time
[]
time_arr
[]
go_time_arr
[]
diff
0
like
[]
_nav
[ { "id": 1, "cid": 1, "pid": 0, "name": "\u9996\u9875", "type": 5, "condition": null, "status": 1, "orderid": 1, "posttime": 1561613823, "uptime": null, "pic": null }, { "id": 6, "cid": 1, "pid": 0, "name": "\u56fd\u5185\u957f\u7ebf\u6e38", "type": 3, "condition": "{\"leixing\":\"46\",\"area\":\"0\",\"type\":\"0\",\"days\":\"0\"}", "status": 1, "orderid": 2, "posttime": 1564390613, "uptime": null, "pic": null }, { "id": 7, "cid": 1, "pid": 0, "name": "\u4e24\u81f3\u4e03\u65e5\u4e2d\u957f\u7ebf", "type": 3, "condition": "{\"leixing\":\"48\",\"area\":\"0\",\"type\":\"0\",\"days\":\"0\"}", "status": 1, "orderid": 3, "posttime": 1565941716, "uptime": null, "pic": null }, { "id": 8, "cid": 1, "pid": 0, "name": "\u5468\u8fb9\u77ed\u9014", "type": 3, "condition": "{\"leixing\":\"45\",\"area\":\"0\",\"type\":\"0\",\"days\":\"0\"}", "status": 1, "orderid": 4, "posttime": 1564390723, "uptime": null, "pic": null }, { "id": 25, "cid": 1, "pid": 0, "name": "\u5883\u5916\u8de8\u56fd\u6e38", "type": 3, "condition": "{\"leixing\":\"47\",\"area\":\"19\",\"address\":\"0\",\"type\":\"0\",\"days\":\"0\"}", "status": 1, "orderid": 5, "posttime": 1564390762, "uptime": null, "pic": null }, { "id": 19, "cid": 1, "pid": 0, "name": "\u79c1\u4eba\u8ba2\u5236", "type": 3, "condition": "{\"leixing\":\"0\",\"area\":\"0\",\"address\":\"0\",\"type\":\"46\",\"days\":\"0\"}", "status": 1, "orderid": 6, "posttime": 1564736062, "uptime": null, "pic": null }, { "id": 9, "cid": 1, "pid": 0, "name": "\u79ef\u5206\u5546\u57ce", "type": 4, "condition": "http:\/\/www.shuizhidui.com\/index.php\/index\/shop\/index.html", "status": 1, "orderid": 7, "posttime": 1563789933, "uptime": null, "pic": null }, { "id": 10, "cid": 1, "pid": 0, "name": "\u4e2a\u4eba\u4e2d\u5fc3", "type": 4, "condition": "http:\/\/www.shuizhidui.com\/index.php\/index\/member\/index.html", "status": 1, "orderid": 8, "posttime": 1563789926, "uptime": null, "pic": null } ]
val
{ "id": 10, "cid": 1, "pid": 0, "name": "\u4e2a\u4eba\u4e2d\u5fc3", "type": 4, "condition": "http:\/\/www.shuizhidui.com\/index.php\/index\/member\/index.html", "status": 1, "orderid": 8, "posttime": 1563789926, "uptime": null, "pic": null }
key
7
child
[]

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
proxy-nokeepalive
1
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.shuizhidui.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH
/www/server/apache/lib
SERVER_SIGNATURE
<address>Apache Server at www.shuizhidui.com Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.shuizhidui.com
SERVER_ADDR
172.17.0.16
SERVER_PORT
80
REMOTE_ADDR
154.81.121.35
DOCUMENT_ROOT
/www/wwwroot/shuizhidui.com
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/shuizhidui.com
SERVER_ADMIN
webmaster@example.com
SCRIPT_FILENAME
/www/wwwroot/shuizhidui.com/index.php
REMOTE_PORT
20005
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/index.php/index/product/details/id/
SCRIPT_NAME
/index.php
PATH_INFO
/index/product/details/id/
PATH_TRANSLATED
redirect:/index.php/product/details/id/
PHP_SELF
/index.php/index/product/details/id/
REQUEST_TIME_FLOAT
1573793659.9409
REQUEST_TIME
1573793659
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/shuizhidui.com/application/
THINK_VERSION
5.0.12
THINK_START_TIME
1573793659.9412
THINK_START_MEM
262384
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/shuizhidui.com/thinkphp/
LIB_PATH
/www/wwwroot/shuizhidui.com/thinkphp/library/
CORE_PATH
/www/wwwroot/shuizhidui.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/shuizhidui.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/shuizhidui.com/
EXTEND_PATH
/www/wwwroot/shuizhidui.com/extend/
VENDOR_PATH
/www/wwwroot/shuizhidui.com/vendor/
RUNTIME_PATH
/www/wwwroot/shuizhidui.com/runtime/
LOG_PATH
/www/wwwroot/shuizhidui.com/runtime/log/
CACHE_PATH
/www/wwwroot/shuizhidui.com/runtime/cache/
TEMP_PATH
/www/wwwroot/shuizhidui.com/runtime/temp/
CONF_PATH
/www/wwwroot/shuizhidui.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false