[8] ErrorException in Page.php line 33

未定义数组索引: title

  1. $param = request()->param();
  2. $map = array();
  3. $map['id'] = $param['id'];
  4. $detail = controller('Page','event')->detail($map);
  5. //位置
  6. $this->here['one']['url'] = url('News/detail');
  7. $this->here['one']['title'] = '油讯';
  8. $this->here['two']['url'] = url('News/detail');
  9. $this->here['two']['title'] = $detail['title'];
  10. $this->here();
  11. return $this->fetch();
  12. }
  13. }

Call Stack

  1. in Page.php line 33
  2. at Error::appError(8, 'Undefined index: tit...', '/data/www/oilcn.com/...', 33, ['param' => ['id' => '4'], 'map' => ['id' => '4'], 'detail' => ['create_time' => '1970-01-01']]) in Page.php line 33
  3. at Page->detail()
  4. at ReflectionMethod->invokeArgs(object(Page), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Page), object(ReflectionMethod), ['id' => '4']) in Module.php line 132
  6. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  7. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  10. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request)) in App.php line 435
  18. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER nobody
HOME /nonexistent
HTTP_REFERER http://www.oilcn.com/home/page/detail/id/4.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.oilcn.com
PATH_INFO
SCRIPT_FILENAME /data/www/oilcn.com/public/index.php
REDIRECT_STATUS 200
SERVER_NAME oilcn.com
SERVER_PORT 443
SERVER_ADDR 172.17.0.3
REMOTE_PORT 45430
REMOTE_ADDR 44.197.113.64
SERVER_SOFTWARE nginx/1.23.4
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /data/www/oilcn.com/public
DOCUMENT_URI /index.php
REQUEST_URI /home/page/detail/id/4.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/home/page/detail/id/4.html
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710836936.4812
REQUEST_TIME 1710836936
Environment Variablesempty
ThinkPHP Constants
MODULE_NAME
ACTION_NAME
CONTROLLER_NAME
HOUCMS_VERSION 1.0
UC_APP_ID 1
UC_API_TYPE Model
UC_AUTH_KEY xN=9Du3(Q*W@[5hBe^AFw:vV&YH.S#kj4f)PtO%r
UC_DB_DSN mysql://houdian:daayii123@Liujunhoudian@116.255.235.74:3306/houdian
UC_TABLE_PREFIX hd_
ADDON_PATH /data/www/oilcn.com/addons/

您访问的地址不存在,等待跳转...