[8] ErrorException in Article.php line 177

未定义数组索引: title

  1. /**处理单条信息
  2. *
  3. */
  4. public static function deallang($v,$secondPid=false)
  5. {
  6. $findCate = Db::name(ArticleCate::dbTable())->where(['id'=>$v['cate_id']])->find();
  7. $findCate = ArticleCate::dealLang($findCate);
  8. $v['secondPidTitle'] = '';
  9. if($findCate){
  10. $v['cate_title'] = $findCate['title'];
  11. if( ($findCate['tem_lists']=='lists_product' || $findCate['tem_lists']=='lists_product2' ) && $secondPid==true){
  12. $secondPid = Db::name(ArticleCate::dbTable())->where(['id'=>$findCate['pid']])->find();
  13. $v['secondPidTitle'] = $secondPid['pid']==0?$findCate['title']:$secondPid['title'];
  14. }
  15. }
  16. if( isset($v['status']) ) $v['status_str'] = self::status($v['status']);
  17. $v['url'] = '';

Call Stack

  1. in Article.php line 177
  2. at Error::appError(8, 'Undefined index: tit...', 'D:\wwwroot\bokejiaju...', 177, ['v' => ['secondPidTitle' => ''], 'secondPid' => false, 'findCate' => ['url' => null]]) in Article.php line 177
  3. at Article::deallang(['secondPidTitle' => '']) in Content.php line 187
  4. at Content->index()
  5. at ReflectionMethod->invokeArgs(object(Content), []) in Container.php line 395
  6. at Container->invokeReflectMethod(object(Content), object(ReflectionMethod), ['cateid' => '19', 'id' => '142', 'convert' => false]) in Module.php line 131
  7. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  8. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  9. at Middleware->think\{closure}(object(Request))
  10. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  11. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  12. at Module->exec() in Dispatch.php line 168
  13. at Dispatch->run() in App.php line 432
  14. at App->think\{closure}(object(Request), object(Closure), null)
  15. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  16. at Middleware->think\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  18. at Middleware->dispatch(object(Request)) in App.php line 435
  19. at App->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID 9vj29upd2vn1l8pic7p327vq0r
Sessionempty
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-89ff1f92-0724-4d0a-9e1a-931bde8a24b4
PHP_FCGI_MAX_REQUESTS 10000
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\bokejiaju.com\bokejiaju.com.config
APP_POOL_ID bokejiaju.com
BT_PANEL D:\BtSoft\panel
BT_PYTHON C:\Program Files\python
BT_SETUP D:\BtSoft
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME iZ23add8sa8Z
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\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\python;C:\Program Files\python\Scripts;;D:\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:\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
UNRAR_LIB_PATH C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN WORKGROUP
USERNAME iZ23add8sa8Z$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
windows_tracing_flags 3
windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log
ORIG_PATH_INFO /index.php/news/19/142
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/7.5
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.bokejiaju.com
SCRIPT_NAME /index.php
SCRIPT_FILENAME D:\wwwroot\bokejiaju.com\public\index.php
REQUEST_URI /news/19/142
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 36968
REMOTE_HOST 23.231.77.82
REMOTE_ADDR 23.231.77.82
QUERY_STRING
PATH_TRANSLATED D:\wwwroot\bokejiaju.com\public\index.php\news\19\142
PATH_INFO /news/19/142
LOGON_USER
LOCAL_ADDR 172.16.7.53
INSTANCE_META_PATH /LM/W3SVC/3
INSTANCE_NAME BOKEJIAJU.COM
INSTANCE_ID 3
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT D:\wwwroot\bokejiaju.com\public
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:\wwwroot\bokejiaju.com\public\
APPL_MD_PATH /LM/W3SVC/3/ROOT
IIS_UrlRewriteModule 7.1.0871.0
UNENCODED_URL /news/19/142
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /news/19/142
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_HOST www.bokejiaju.com
HTTP_COOKIE PHPSESSID=9vj29upd2vn1l8pic7p327vq0r
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
FCGI_ROLE RESPONDER
PHP_SELF /index.php/news/19/142
REQUEST_TIME_FLOAT 1701732620.9609
REQUEST_TIME 1701732620
Environment Variablesempty
ThinkPHP Constants
PINYIN_DEFAULT 4096
PINYIN_TONE 2
PINYIN_NO_TONE 4
PINYIN_ASCII_TONE 8
PINYIN_NAME 16
PINYIN_KEEP_NUMBER 32
PINYIN_KEEP_ENGLISH 64
PINYIN_UMLAUT_V 128
PINYIN_KEEP_PUNCTUATION 256