#0 [8]ErrorException in Search.php line 2742

未定义数组索引: name

  1. ->where('end_time', '>', date('Y-m-d H:i:s'))->find();
  2. if ($qrcode) {
  3. $this->assign('qrcode', $qrcode);
  4. }
  5. $hall['praise_number'] = Praise::where('type', 7)->count();
  6. $this->assign('aim_type', 7);
  7. $this->assign('title', $hall['name'] . "_会查查");
  8. $keywords = $hall['name'] . "展会排期";
  9. if ($hall['city']) {
  10. $keywords .= "," . ($hall['city'] ?? "国内") . "会展中心";
  11. }
  12. if ($hall['province']) {
  13. $keywords .= "," . ($hall['province'] ?? "国内") . "会展中心";
  14. }

Call Stack

  1. in Search.php line 2742
  2. at Error->appError(8, 'Undefined index: nam...', '/www/wwwroot/hcc.vsh...', 2742, ['id' => '111', 'hall' => ['praise_number' => 60], 'slide' => [], ...]) in Search.php line 2742
  3. at Search->hall_detail('111')
  4. at ReflectionMethod->invokeArgs(object(Search), ['111']) in Container.php line 343
  5. at Container->invokeReflectMethod(object(Search), object(ReflectionMethod), ['id' => '111']) in Controller.php line 110
  6. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  7. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  8. at Pipeline->then(object(Closure)) in Controller.php line 113
  9. at Controller->exec() in Dispatch.php line 89
  10. at Dispatch->run() in Route.php line 772
  11. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  12. at Pipeline->think\{closure}(object(Request)) in CheckIndex.php line 66
  13. at CheckIndex->handle(object(Request), object(Closure))
  14. at call_user_func([object(CheckIndex), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  15. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  16. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  17. at Pipeline->then(object(Closure)) in Route.php line 773
  18. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  19. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  20. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  21. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  22. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  23. at Pipeline->think\{closure}(object(Request)) in SystemLog.php line 49
  24. at SystemLog->handle(object(Request), object(Closure))
  25. at call_user_func([object(SystemLog), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  26. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  27. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  28. at SessionInit->handle(object(Request), object(Closure))
  29. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  30. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  31. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  32. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  33. at MultiApp->handle(object(Request), object(Closure))
  34. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  35. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  36. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  37. at SessionInit->handle(object(Request), object(Closure))
  38. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  39. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  40. at Pipeline->think\{closure}(object(Request)) in AllowCrossDomain.php line 61
  41. at AllowCrossDomain->handle(object(Request), object(Closure))
  42. at call_user_func([object(AllowCrossDomain), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  43. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  44. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  45. at Pipeline->then(object(Closure)) in Http.php line 207
  46. at Http->runWithRequest(object(Request)) in Http.php line 170
  47. at Http->run() in index.php line 30

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
from_url https://www.huixx.cn/search/hall_detail/id/111.html
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.huixx.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.huixx.cn
SERVER_PORT 443
SERVER_ADDR 172.19.112.94
REMOTE_PORT 42810
REMOTE_ADDR 3.89.116.152
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/hcc.vshop365.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /search/hall_detail/id/111.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//search/hall_detail/id/111.html
SCRIPT_FILENAME /www/wwwroot/hcc.vshop365.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711651144.3099
REQUEST_TIME 1711651144