[8] ErrorException in Index.php line 492

未定义数组索引: title

  1. if(empty($info)){$this->index();}
  2. $this->assign('info',$info);
  3. // print_r($info);exit;
  4. // if(!empty($info) && $type == 4){
  5. // Db::name('ContentIllness')->where(['cid'=>$cid,'id'=>$id])->update(['browse'=>$info['browse']+1]);
  6. // }
  7. $this->assign('cid',$cid);
  8. $this->assign('bid',$bid);
  9. $this->assign('title',$info['title']);
  10. $this->assign('type',$type);
  11. return $this->fetch('detail/'.$catinfo['template2']);
  12. }
  13. private function init(){
  14. if($this->isMobile()){
  15. header('Location: '.WEB_DOMAIN.'/wap');
  16. }

Call Stack

  1. in Index.php line 492
  2. at Error::appError(8, 'Undefined index: tit...', 'E:\wwwroot\www.hms.c...', 492, ['cid' => 15, 'bid' => 0, 'id' => 757, ...]) in Index.php line 492
  3. at Index->detail()
  4. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 373
  5. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), []) in Module.php line 129
  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 188
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.php line 133
  10. at Middleware->dispatch(object(Request), 'controller') in Module.php line 134
  11. at Module->exec() in Dispatch.php line 167
  12. at Dispatch->run() in App.php line 433
  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 188
  15. at Middleware->think\{closure}(object(Request)) in Auth.php line 51
  16. at Auth->handle(object(Request), object(Closure), null)
  17. at call_user_func_array([object(Auth), 'handle'], [object(Request), object(Closure), null]) in Middleware.php line 188
  18. at Middleware->think\{closure}(object(Request))
  19. at call_user_func(object(Closure), object(Request)) in Middleware.php line 133
  20. at Middleware->dispatch(object(Request)) in App.php line 436
  21. at App->run() in index.php line 27

Environment Variables

GET Data
cid 15
id 757
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
BT_PANEL E:\BtSoft\panel
BT_PYTHON C:\Program Files\python
BT_SETUP E:\BtSoft
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME WINDOWS-FQEUCGQ
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 8
OS Windows_NT
Path C:\Program Files\HP\NCU;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\BtSoft\panel\script;;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\Program Files\python;C:\Program Files\python\Scripts;;E:\BtSoft\panel\script;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 4f01
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
UNRAR_LIB_PATH C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN WORKGROUP
USERNAME WINDOWS-FQEUCGQ$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
windows_tracing_flags 3
windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log
HTTP_HOST www.hms.com.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME www.hms.com.cn
SERVER_PORT 80
SERVER_ADDR 43.228.77.92
REMOTE_PORT 43388
REMOTE_ADDR 34.204.196.206
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT E:/wwwroot/www.hms.com.cn
DOCUMENT_URI /index.php
REQUEST_URI /index/index/detail.html?cid=15&id=757
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/index/detail.html&cid=15&id=757
PATH_INFO
SCRIPT_NAME /index.php
SCRIPT_FILENAME E:/wwwroot/www.hms.com.cn/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711653736.3525
REQUEST_TIME 1711653736
Environment Variablesempty
ThinkPHP Constants
WEB_DOMAIN http://www.hms.com.cn
QINIU_FUNCTIONS_VERSION 7.2.5