[0] InvalidArgumentException in Response.php line 316

variable type error: boolean

  1. {
  2. if (null == $this->content) {
  3. $content = $this->output($this->data);
  4. if (null !== $content && !is_string($content) && !is_numeric($content) && !is_callable([
  5. $content,
  6. '__toString',
  7. ])
  8. ) {
  9. throw new \InvalidArgumentException(sprintf('variable type error: %s', gettype($content)));
  10. }
  11. $this->content = (string) $content;
  12. }
  13. return $this->content;
  14. }
  15. /**
  16. * 获取状态码

Call Stack

  1. in Response.php line 316
  2. at Response->getContent() in Response.php line 94
  3. at Response->send() in start.php line 19
  4. at require('D:\zip\www\www\tp5_n...') in index.php line 23

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

PROCESSOR_ARCHITEW6432
AMD64
_FCGI_X_PIPE_
\\.\pipe\IISFCGI-548d08ef-4a18-4df0-a390-8fda17144108
PHPRC
C:\PROGRA~1\php\php-7.0.12-nts\
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\DefaultAppPool\DefaultAppPool.config
APP_POOL_ID
DefaultAppPool
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
INSTANCE-SN5O8M
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\php\php-7.0.12-nts;C:\Windows\system32\inetsrv;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\nodejs\;C:\Program Files (x86)\Git\cmd;
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
x86
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
5504
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files (x86)
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
USERDOMAIN
WORKGROUP
USERNAME
INSTANCE-SN5O8M$
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/index/cover/index/mid/171
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/7.5
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
jjg630.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
D:\zip\www\www\tp5_new\public\index.php
REQUEST_URI
/index/cover/index/mid/171
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
48820
REMOTE_HOST
35.171.22.220
REMOTE_ADDR
35.171.22.220
QUERY_STRING
PATH_TRANSLATED
D:\zip\www\www\tp5_new\public\index.php\index\cover\index\mid\171
PATH_INFO
/index/cover/index/mid/171
LOGON_USER
LOCAL_ADDR
192.168.0.182
INSTANCE_META_PATH
/LM/W3SVC/3
INSTANCE_NAME
WWW.JJG630.COM-PHPSTUDY
INSTANCE_ID
3
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
D:\zip\www\www\tp5_new\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:\zip\www\www\tp5_new\public\
APPL_MD_PATH
/LM/W3SVC/3/ROOT
IIS_UrlRewriteModule
7,1,1993,2351
UNENCODED_URL
/index/cover/index/mid/171
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/index/cover/index/mid/171
HTTP_USER_AGENT
claudebot
HTTP_HOST
jjg630.com
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/index/cover/index/mid/171
REQUEST_TIME_FLOAT
1711625449.9678
REQUEST_TIME
1711625449
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\zip\www\www\tp5_new\public/../application/
CONF_PATH
D:\zip\www\www\tp5_new\public/../conf/
UPLOAD_PATH
/uploads
THINK_VERSION
5.0.24
THINK_START_TIME
1711625449.9678
THINK_START_MEM
376392
EXT
.php
DS
\
THINK_PATH
D:\zip\www\www\tp5_new\thinkphp\
LIB_PATH
D:\zip\www\www\tp5_new\thinkphp\library\
CORE_PATH
D:\zip\www\www\tp5_new\thinkphp\library\think\
TRAIT_PATH
D:\zip\www\www\tp5_new\thinkphp\library\traits\
ROOT_PATH
D:\zip\www\www\tp5_new\
EXTEND_PATH
D:\zip\www\www\tp5_new\extend\
VENDOR_PATH
D:\zip\www\www\tp5_new\vendor\
RUNTIME_PATH
D:\zip\www\www\tp5_new\runtime\
LOG_PATH
D:\zip\www\www\tp5_new\runtime\log\
CACHE_PATH
D:\zip\www\www\tp5_new\runtime\cache\
TEMP_PATH
D:\zip\www\www\tp5_new\runtime\temp\
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true