[8] ErrorException in SecondServer.php line 341

未定义数组索引: _child

  1. * @param mixed
  2. * @return array|mixed
  3. * @author: al
  4. */
  5. public function street_one_arr($area,$street){
  6. $cache_name = 'street_one_'.$area['id'];
  7. $street_cache = cache($cache_name);
  8. if (!$street_cache){
  9. $street_cache = ['全部'];
  10. foreach ($area['_child'][$street]['_child'] as $k=>$val){
  11. $street_cache[] = $val['name'];
  12. }
  13. cache($cache_name,$street_cache,86400);
  14. }
  15. return $street_cache;
  16. }
  17. /**
  18. * 获取法拍专员(带聊天图片)
  19. * @param mixed

Call Stack

  1. in SecondServer.php line 341
  2. at Error::appError(8, 'Undefined index: _ch...', '/www/wwwroot/www.fan...', 341, ['area' => ['id' => 39, 'pid' => 0, 'name' => '北京', ...], 'street' => 54, 'cache_name' => 'street_one_39', ...]) in SecondServer.php line 341
  3. at SecondServer->street_one_arr(['id' => 39, 'pid' => 0, 'name' => '北京', ...], 54) in SecondServer.php line 269
  4. at SecondServer->list_page_search_field(54) in Second.php line 61
  5. at Second->index()
  6. at ReflectionMethod->invokeArgs(object(Second), []) in Container.php line 395
  7. at Container->invokeReflectMethod(object(Second), object(ReflectionMethod), ['area' => '54', 'rading' => '0', 'tags' => '0', ...]) in Module.php line 132
  8. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  9. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  10. at Middleware->think\{closure}(object(Request))
  11. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  12. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  13. at Module->exec() in Dispatch.php line 168
  14. at Dispatch->run() in App.php line 432
  15. at App->think\{closure}(object(Request), object(Closure), null)
  16. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  17. at Middleware->think\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  19. at Middleware->dispatch(object(Request)) in App.php line 435
  20. at App->run() in index.php line 15

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
cityInfo { "id": 39, "name": "\u5317\u4eac", "domain": "beijing", "seo_title": "", "seo_keys": "", "seo_desc": "" }
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST fangpaiwang.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.fangpaiwang.com
SERVER_PORT 443
SERVER_ADDR 172.22.227.14
REMOTE_PORT 51480
REMOTE_ADDR 44.222.116.199
SERVER_SOFTWARE nginx/1.15.10
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.fangpaiwang.com/public
DOCUMENT_URI /index.php
REQUEST_URI /erf/area/54/rading/0/tags/0/qipai/0/acreage/0/room/0/types/0/jieduan/0/fcstatus/0/type/0/renovation/0/metro/0/metro_station/0/sort/0/is_free/0/orientations/0/user_type/0/search_type/0/time_frame/0/end_time/0/zprice1/0/zprice2/0/zmianji1/0/zmianji2/0.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/erf/area/54/rading/0/tags/0/qipai/0/acreage/0/room/0/types/0/jieduan/0/fcstatus/0/type/0/renovation/0/metro/0/metro_station/0/sort/0/is_free/0/orientations/0/user_type/0/search_type/0/time_frame/0/end_time/0/zprice1/0/zprice2/0/zmianji1/0/zmianji2/0.html
SCRIPT_FILENAME /www/wwwroot/www.fangpaiwang.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711645972.2621
REQUEST_TIME 1711645972
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.7