太阳成tyc9728(股份公司)·Official website

[8] ErrorException in Index.php line 189

Trying to access array offset on value of type null

  1. $this->assign("boss",$boss);
  2. $where[]=["boss","eq",$boss['id']];
  3. $list=Db::name("detail")->where($where)->order("sort desc")->select();$this->assign("list",$list);
  4. return $this->fetch('Index/recruit');
  5. }
  6. public function recpage()
  7. {
  8. /*tdk*/$tdk=tdk(6);$this->assign("tdk",$tdk);/*banner*/$banner=banner(6);$this->assign('banner',$banner);
  9. /*内容详情*/
  10. $data=Db::name("detail")->find(Request::param('id'));$data['release']=date("Y年m月d日",$data['stamp']);$this->assign('data',$data);
  11. $boss=Db::name("column")->find($data['boss']);$this->assign('boss',$boss);
  12. if($boss['type']=='2'){
  13. $list_school=Db::name("school")->where("`cid`=".$boss['id'])->order("sort desc")->select();
  14. }
  15. else{
  16. $list_school=array();
  17. }
  18. $this->assign('list_school',$list_school);
  19. $where=[["boss","eq",$boss['id']]];$reclist=Db::name("detail")->where($where)->order("sort desc")->select();$this->assign("reclist",$reclist);unset($where);

Call Stack

  1. in Index.php line 189
  2. at Error::appError() in Index.php line 189
  3. at Index->recpage()
  4. at ReflectionMethod->invokeArgs() in Container.php line 395
  5. at Container->invokeReflectMethod() in Module.php line 131
  6. at Module->think\route\dispatch\{closure}()
  7. at call_user_func_array() in Middleware.php line 185
  8. at Middleware->think\{closure}()
  9. at call_user_func() in Middleware.php line 130
  10. at Middleware->dispatch() in Module.php line 136
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}()
  14. at call_user_func_array() in Middleware.php line 185
  15. at Middleware->think\{closure}()
  16. at call_user_func() in Middleware.php line 130
  17. at Middleware->dispatch() in App.php line 435
  18. at App->run() in index.php line 12

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.hmqy.com.cn
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME hmqy.com.cn
SERVER_PORT 80
SERVER_ADDR 172.21.51.255
REMOTE_PORT 50502
REMOTE_ADDR 50.2.185.58
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/haomingqinye
DOCUMENT_URI /index.php
REQUEST_URI /recpage/id/206.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/recpage/id/206.html
SCRIPT_FILENAME /www/wwwroot/haomingqinye/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1777645177.7635
REQUEST_TIME 1777645177
Environment Variablesempty
ThinkPHP Constants
APP_PATH /www/wwwroot/haomingqinye/application/
XML 地图