#0 [8]ErrorException in IndexLogic.php line 338

未定义数组索引: school_ids

  1. // yjcss修改
  2. $schoolold_Id = 0; //旧的学校ID
  3. if(empty($info)){
  4. $info = Db::name('m_school')->where('school_id',$schoolId)->where('zdid',$zdid)->find();
  5. $schoolold_Id = $info['school_ids'];
  6. }
  7. //查询学校简介
  8. $info['detail'] = Db::name('m_school_detail')->where('school_id',$schoolId)->where('zdid',$zdid)->find();
  9. if(empty($info['detail'])){
  10. $info['detail'] = Db::name('m_school_detail')->where('school_id',$info['school_ids'])->where('zdid',$zdid)->find();
  11. }
  12. //查询学校招生简章
  13. if(!$info['enrollment']) {
  14. $info['enrollment'] = Db::name('t_school_enrollment')->where('school_id',$schoolId)->where('zdid',$zdid)->value('des');
  15. }
  16. $info['huapian'] = ['code'=>0,'msg'=>'未登录!'];
  17. if($userId > 0){
  18. //查询划片数据
  19. }

Call Stack

  1. in IndexLogic.php line 338
  2. at Error->appError(8, 'Undefined index: sch...', '/www/wwwroot/xqfhp.c...', 338, ['schoolId' => '11547', 'zdid' => 10, 'userId' => 0, ...]) in IndexLogic.php line 338
  3. at IndexLogic->showInfo('11547', 10, 0) in Index.php line 106
  4. at Index->show('11547')
  5. at ReflectionMethod->invokeArgs(object(Index), ['11547']) in Container.php line 342
  6. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), ['id' => '11547']) in Controller.php line 110
  7. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  8. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  9. at Pipeline->then(object(Closure)) in Controller.php line 113
  10. at Controller->exec() in Dispatch.php line 89
  11. at Dispatch->run() in Route.php line 760
  12. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  13. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  14. at Pipeline->then(object(Closure)) in Route.php line 761
  15. at Route->dispatch(object(Request), object(Closure)) in Http.php line 210
  16. at Http->dispatchToRoute(object(Request)) in Http.php line 200
  17. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  18. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  19. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  20. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  21. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  22. at MultiApp->handle(object(Request), object(Closure))
  23. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  24. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  25. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  26. at SessionInit->handle(object(Request), object(Closure))
  27. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  28. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  29. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  30. at Pipeline->then(object(Closure)) in Http.php line 201
  31. at Http->runWithRequest(object(Request)) in Http.php line 162
  32. at Http->run() in index.php line 30

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST sh.xqfhp.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME sh.xqfhp.com
SERVER_PORT 443
SERVER_ADDR 45.114.124.120
REMOTE_PORT 41536
REMOTE_ADDR 44.212.39.149
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/xqfhp.com/public
DOCUMENT_URI /index.php
REQUEST_URI /aid/11547/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/aid/11547/
SCRIPT_FILENAME /www/wwwroot/xqfhp.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711666284.831
REQUEST_TIME 1711666284