[8] ErrorException in StoreData.php line 67

未定义数组下标: 3

  1. $seo_keys = '土地';
  2. $where['status'] = 1;
  3. $where['user_id'] = $s['user_id'];
  4. //类型
  5. if(!empty($s['type'])){
  6. $where['type'] = $s['type'];
  7. $type = getConf('cscz');
  8. $seo_keys .= '_'.$type[$s['type']];
  9. $name['type'] = $type[$s['type']];
  10. }
  11. //土地类型
  12. if(!empty($s['type_id'])){
  13. $where[] = ['','exp',\think\Db::raw("find_in_set({$s['type_id']},type_id)")];
  14. $val = getLinkMenuName(4,$s['type_id']);
  15. $seo_keys .= '_'.$val;
  16. $name['type_id'] = $val;

Call Stack

  1. in StoreData.php line 67
  2. at Error::appError(8, 'Undefined offset: 3', '/home/www/tdw_tw/app...', 67, ['limit' => 10, 'page' => 0, 'name' => [], ...]) in StoreData.php line 67
  3. at StoreData::land() in Store.php line 132
  4. at Store->land()
  5. at ReflectionMethod->invokeArgs(object(Store), []) in Container.php line 395
  6. at Container->invokeReflectMethod(object(Store), object(ReflectionMethod), ['user_id' => '8520', 'type' => '3', 'convert' => false]) in Module.php line 132
  7. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  8. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  9. at Middleware->think\{closure}(object(Request))
  10. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  11. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  12. at Module->exec() in Dispatch.php line 168
  13. at Dispatch->run() in App.php line 432
  14. at App->think\{closure}(object(Request), object(Closure), null)
  15. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  16. at Middleware->think\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  18. at Middleware->dispatch(object(Request)) in App.php line 435
  19. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
city_id 1
city_ids think:["23","24","25","26","27","28","29","30","31","32","33","34","1"]
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.tdw.tw
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME tdw.tw
SERVER_PORT 443
SERVER_ADDR 192.168.2.199
REMOTE_PORT 40274
REMOTE_ADDR 3.236.147.122
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /home/www/tdw_tw/public
DOCUMENT_URI /index.php
REQUEST_URI /store/land-8520/type/3/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/store/land-8520/type/3/
SCRIPT_FILENAME /home/www/tdw_tw/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711715801.0588
REQUEST_TIME 1711715801
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.7