[0] InvalidArgumentException in Response.php line 317

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 317
  2. at Response->getContent() in Response.php line 99
  3. at Response->send() in start.php line 18
  4. at require('/www/wwwroot/jettech...') in index.php line 9

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/jettech.cn/index.php
QUERY_STRING
s=/index/index/productdetail.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index/index/productdetail.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/jettech.cn
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.17.10
REMOTE_ADDR
154.221.158.195
REMOTE_PORT
20000
SERVER_ADDR
172.17.20.253
SERVER_PORT
80
SERVER_NAME
jettech.cn
REDIRECT_STATUS
200
PATH_INFO
/index/index/productdetail.html
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.jettech.cn
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1606208214.3698
REQUEST_TIME
1606208214
Environment Variablesempty
ThinkPHP Constants
APP_PATH
/www/wwwroot/jettech.cn/application/
THINK_VERSION
5.0.4
THINK_START_TIME
1606208214.3703
THINK_START_MEM
260752
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/jettech.cn/thinkphp/
LIB_PATH
/www/wwwroot/jettech.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/jettech.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/jettech.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/jettech.cn/
EXTEND_PATH
/www/wwwroot/jettech.cn/extend/
VENDOR_PATH
/www/wwwroot/jettech.cn/vendor/
RUNTIME_PATH
/www/wwwroot/jettech.cn/runtime/
LOG_PATH
/www/wwwroot/jettech.cn/runtime/log/
CACHE_PATH
/www/wwwroot/jettech.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/jettech.cn/runtime/temp/
CONF_PATH
/www/wwwroot/jettech.cn/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
0.030434s