[8] ErrorException in Index.php line 140

未定义数组下标: 1

  1. }
  2. }
  3. //当前位置
  4. $this->assign('title',$vo['title'].'-'.sysconf('site_name'));
  5. $cid_list = explode('-',$vo['cate']);
  6. if(count($cid_list)==3){
  7. $cid_list = array_splice($cid_list,0,-1);
  8. }
  9. $pid_cate = Db::name('system_menu')->find($cid_list[0]);
  10. $son_cate = Db::name('system_menu')->find($cid_list[1]);
  11. if(in_array($cid_list[1],[195,196,204])){
  12. $son_cate = [];
  13. }
  14. $vo['content'] = str_replace('http://hgzz.cn','',$vo['content']);
  15. $this->assign('pid_cate',$pid_cate);
  16. $this->assign('son_cate',$son_cate);
  17. $this->assign('pre',$pre);
  18. $this->assign('next',$next);
  19. $this->assign('vo',$vo);

Call Stack

  1. in Index.php line 140
  2. at Error::appError(8, 'Undefined offset: 1', 'D:\web\xhgzzcn\appli...', 140, ['id' => '104', 'vo' => null, 'all' => [], ...]) in Index.php line 140
  3. at Index->info()
  4. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), []) in Module.php line 135
  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 140
  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)) in Auth.php line 38
  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 185
  18. at Middleware->think\{closure}(object(Request))
  19. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  20. at Middleware->dispatch(object(Request)) in App.php line 435
  21. at App->run() in index.php line 12

Environment Variables

GET Data
id 104
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-ab697287-de74-47e8-9e2b-e4fca3855044
PHP_FCGI_MAX_REQUESTS 10000
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\xhgzzcn\xhgzzcn.config
APP_POOL_ID xhgzzcn
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME iZfvnx69haf0lfZ
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 4
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\HwsHostMaster\phpweb\php71\;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 5504
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
USERDOMAIN WORKGROUP
USERNAME iZfvnx69haf0lfZ$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php/home/index/info.html
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/8.5
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.hgzz.cn
SCRIPT_NAME /index.php
SCRIPT_FILENAME D:\web\xhgzzcn\index.php
REQUEST_URI /home/index/info.html?id=104
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 39727
REMOTE_HOST 116.211.138.197
REMOTE_ADDR 116.211.138.197
QUERY_STRING id=104
PATH_TRANSLATED D:\web\xhgzzcn\index.php\home\index\info.html
PATH_INFO /home/index/info.html
LOGON_USER
LOCAL_ADDR 172.17.97.198
INSTANCE_META_PATH /LM/W3SVC/39
INSTANCE_NAME
INSTANCE_ID 39
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT D:\web\xhgzzcn
CONTENT_TYPE
CONTENT_LENGTH 0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH D:\web\xhgzzcn\
APPL_MD_PATH /LM/W3SVC/39/ROOT
IIS_UrlRewriteModule 7.1.0871.0
UNENCODED_URL /home/index/info.html?id=104
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /home/index/info.html?id=104
HTTP_X_FORWARDED_FOR 54.205.116.187
HTTP_USER_AGENT claudebot
HTTP_HOST www.hgzz.cn
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
FCGI_ROLE RESPONDER
PHP_SELF /index.php/home/index/info.html
REQUEST_TIME_FLOAT 1711640584.0167
REQUEST_TIME 1711640584
Environment Variablesempty
ThinkPHP Constantsempty