[0] InvalidArgumentException in Response.php line 310

variable type error: array

  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 310
  2. at Response->getContent() in Response.php line 99
  3. at Response->send() in start.php line 18
  4. at require('E:\Web\GoYHJ-Web\thi...') in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
_FCGI_X_PIPE_
\\.\pipe\IISFCGI-bc652634-62cb-49b6-b3d4-a5961ba669bc
PHPRC
D:\Php Service\php-5.6.30-nts-Win32-x64\
PHP_FCGI_MAX_REQUESTS
10000
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\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
iZzrhm9x1jaoszZ
ComSpec
C:\Windows\system32\cmd.exe
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
2
OS
Windows_NT
Path
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;D:\Php Service\php-5.6.30-nts-Win32-x64;C:\ProgramData\ComposerSetup\bin;D:\Putty\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
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;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
iZzrhm9x1jaoszZ$
USERPROFILE
C:\Windows\system32\config\systemprofile
VBOX_MSI_INSTALL_PATH
D:\VirtualBox\
windir
C:\Windows
ORIG_PATH_INFO
/index.php/distribution.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/10.0
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.goyhj.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
E:\Web\GoYHJ-Web\index.php
REQUEST_URI
/distribution.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
20003
REMOTE_HOST
103.48.147.185
REMOTE_ADDR
103.48.147.185
QUERY_STRING
PATH_TRANSLATED
E:\Web\GoYHJ-Web\index.php\distribution.html
PATH_INFO
/distribution.html
LOGON_USER
LOCAL_ADDR
172.26.25.228
INSTANCE_META_PATH
/LM/W3SVC/1
INSTANCE_NAME
DEFAULT WEB SITE
INSTANCE_ID
1
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
E:\Web\GoYHJ-Web
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
E:\Web\GoYHJ-Web\
APPL_MD_PATH
/LM/W3SVC/1/ROOT
IIS_UrlRewriteModule
7.1.0871.0
WEBSOCKET_VERSION
13
UNENCODED_URL
/distribution.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/distribution.html
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.goyhj.com
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/distribution.html
REQUEST_TIME_FLOAT
1574041584.4674
REQUEST_TIME
1574041584
Environment Variablesempty
ThinkPHP Constants
APP_PATH
E:\Web\GoYHJ-Web/app/
SITE_URL
http://www.goyhj.com
THINK_VERSION
5.0.3
THINK_START_TIME
1574041584.4683
THINK_START_MEM
271776
EXT
.php
DS
\
THINK_PATH
E:\Web\GoYHJ-Web\thinkphp\
LIB_PATH
E:\Web\GoYHJ-Web\thinkphp\library\
CORE_PATH
E:\Web\GoYHJ-Web\thinkphp\library\think\
TRAIT_PATH
E:\Web\GoYHJ-Web\thinkphp\library\traits\
ROOT_PATH
E:\Web\GoYHJ-Web\
EXTEND_PATH
E:\Web\GoYHJ-Web\extend\
VENDOR_PATH
E:\Web\GoYHJ-Web\vendor\
RUNTIME_PATH
E:\Web\GoYHJ-Web\runtime\
LOG_PATH
E:\Web\GoYHJ-Web\runtime\log\
CACHE_PATH
E:\Web\GoYHJ-Web\runtime\cache\
TEMP_PATH
E:\Web\GoYHJ-Web\runtime\temp\
CONF_PATH
E:\Web\GoYHJ-Web/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true