[8] ErrorException in Newhouse.phphtml line 535

未定义数组下标: 129

  1. }
  2. }
  3. }elseif($key == 'price'){
  4. $temp[] = ['name'=>$this->getPrice()[$v]['name'],'url'=>getUrl('Newhouse/index','price',$param,0)];
  5. }elseif($key == 'room'){
  6. $temp[] = ['name'=>cache('linkmenu_6')["cate"][$v]["name"],'url'=>getUrl('Newhouse/index','room',$param,0)];
  7. }elseif($key == 'type'){
  8. $temp[] = ['name'=>cache('linkmenu_7')["cate"][$v]["name"],'url'=>getUrl('Newhouse/index','type',$param,0)];
  9. }elseif($key == 'tags'){
  10. $temp[] = ['name'=>cache('linkmenu_5')["cate"][$v]["name"],'url'=>getUrl('Newhouse/index','tags',$param,0)];
  11. }elseif($key == 'group'){
  12. $temp[] = ['name'=>'团购优惠','url'=>getUrl('Newhouse/index','group',$param,0)];
  13. }elseif($key == 'keyword'){
  14. $temp[] = ['name'=>'关键词:'.$v,'url'=>url('Newhouse/index')];
  15. }elseif($key == 'brand'){
  16. $brand_name = model("Brand")->where(["id"=>$v])->value("title");
  17. $temp[] = ['name'=>$brand_name,'url'=>getUrl('Newhouse/index',$key,$param,0)];
  18. }
  19. }

Call Stack

  1. in Newhouse.phphtml line 535
  2. at Error::appError(8, 'Undefined offset: 12...', '/var/wwwroot/yedudc/...', 535, ['param' => ['province' => '0', 'city' => 0, 'district' => '0', ...], 'temp' => [], 'key' => 'tags', ...]) in Newhouse.phphtml line 535
  3. at Newhouse->getCurTag(['province' => '0', 'city' => 0, 'district' => '0', ...]) in Newhouse.phphtml line 484
  4. at Newhouse->search() in Newhouse.phphtml line 402
  5. at Newhouse->getLists() in Newhouse.phphtml line 20
  6. at Newhouse->index()
  7. at ReflectionMethod->invokeArgs(object(Newhouse), []) in App.phphtml line 196
  8. at App::invokeMethod([object(Newhouse), 'index'], []) in App.phphtml line 410
  9. at App::module([null, 'Newhouse', 'index'], ['app_debug' =>true, 'app_trace' =>false, 'app_status' => '', ...], false) in App.phphtml line 295
  10. at App::exec(['type' => 'module', 'module' => [null, 'Newhouse', 'index'], 'convert' =>false], ['app_debug' =>true, 'app_trace' =>false, 'app_status' => '', ...]) in App.phphtml line 123
  11. at App::run() in start.phphtml line 18
  12. at require('/var/wwwroot/yedudc/...') in index.phphtml line 23

Exception Datas

Error Context
param { "province": "0", "city": 0, "district": "0", "price": "0", "room": "0", "type": "0", "tags": "129", "status": "0", "renovation": "0", "floor": "0", "brand": "0", "group": "0", "sort": "0", "keyword": "" }
temp []
key tags
v 129

Environment Variables

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

Server/Request Data

HTTP_HOST
www.eluoye.com
HTTP_X_REAL_IP
156.234.144.41
HTTP_X_FORWARDED_FOR
156.234.144.41
HTTP_X_CLIENT_VERIFY
SUCCESS
HTTP_CONNECTION
close
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache/2.2.32 (Unix) DAV/2 PHP/5.6.30
SERVER_NAME
www.eluoye.com
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
127.0.0.1
DOCUMENT_ROOT
/var/wwwroot/yedudc/public
SERVER_ADMIN
webmaster@dummy-host.example.com
SCRIPT_FILENAME
/var/wwwroot/yedudc/public/index.phphtml
REMOTE_PORT
59030
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.0
REQUEST_METHOD
GET
QUERY_STRING
s=/0/newhouse_0_0_0_129_0_0_0_0_0_0_0_0.html
REQUEST_URI
/index.phphtml?s=/0/newhouse_0_0_0_129_0_0_0_0_0_0_0_0.html
SCRIPT_NAME
/index.phphtml
PHP_SELF
/index.phphtml
REQUEST_TIME_FLOAT
1603367185.307
REQUEST_TIME
1603367185
PATH_INFO
/0/newhouse_0_0_0_129_0_0_0_0_0_0_0_0.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/var/wwwroot/yedudc/public/../afang/
STATIC_PATH
/static/
IMG_PATH
/static/images/
UPLOAD_TYPE
OSS
SMS_TYPE
Dayu
THINK_VERSION
5.0.9
THINK_START_TIME
1603367185.3084
THINK_START_MEM
265296
EXT
.phphtml
DS
/
THINK_PATH
/var/wwwroot/yedudc/thinkphp/
LIB_PATH
/var/wwwroot/yedudc/thinkphp/library/
CORE_PATH
/var/wwwroot/yedudc/thinkphp/library/think/
TRAIT_PATH
/var/wwwroot/yedudc/thinkphp/library/traits/
ROOT_PATH
/var/wwwroot/yedudc/
EXTEND_PATH
/var/wwwroot/yedudc/extend/
VENDOR_PATH
/var/wwwroot/yedudc/vendor/
RUNTIME_PATH
/var/wwwroot/yedudc/runtime/
LOG_PATH
/var/wwwroot/yedudc/runtime/log/
CACHE_PATH
/var/wwwroot/yedudc/runtime/cache/
TEMP_PATH
/var/wwwroot/yedudc/runtime/temp/
CONF_PATH
/var/wwwroot/yedudc/public/../afang/
CONF_EXT
.phphtml
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
乐虎国际手机app下载龙八国际手机版下载猫先生iammrcat推特bbin真人娱乐