[0] InvalidArgumentException in Response.php line 312

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 312
  2. at Response->getContent() in Response.php line 94
  3. at Response->send() in start.php line 18
  4. at require('/www/wwwroot/whyywsx...') in index.php line 52

Environment Variables

GET Data

article_id
1559
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/whyywsxx.cn/index.php
QUERY_STRING
s=/home/Article/detail/article_id/1559.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/home/Article/detail/article_id/1559.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/whyywsxx.cn
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.15.10
REMOTE_ADDR
3.229.124.236
REMOTE_PORT
41890
SERVER_ADDR
172.30.13.2
SERVER_PORT
80
SERVER_NAME
whyywsxx.cn
REDIRECT_STATUS
200
PATH_INFO
/home/Article/detail/article_id/1559.html
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
www.whyywsxx.cn
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711636890.5572
REQUEST_TIME
1711636890
Environment Variables
empty

ThinkPHP Constants

PLUGIN_PATH
/www/wwwroot/whyywsxx.cn/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
31104000
SITE_URL
http://www.whyywsxx.cn
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/whyywsxx.cn/application/
NOW_TIME
1711636890
THINK_VERSION
5.0.7
THINK_START_TIME
1711636890.5578
THINK_START_MEM
265040
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/whyywsxx.cn/thinkphp/
LIB_PATH
/www/wwwroot/whyywsxx.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/whyywsxx.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/whyywsxx.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/whyywsxx.cn/
EXTEND_PATH
/www/wwwroot/whyywsxx.cn/extend/
VENDOR_PATH
/www/wwwroot/whyywsxx.cn/vendor/
RUNTIME_PATH
/www/wwwroot/whyywsxx.cn/runtime/
LOG_PATH
/www/wwwroot/whyywsxx.cn/runtime/log/
CACHE_PATH
/www/wwwroot/whyywsxx.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/whyywsxx.cn/runtime/temp/
CONF_PATH
/www/wwwroot/whyywsxx.cn/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Article
ACTION_NAME
detail
PREFIX
tp_
SESSION_ID
n6nh0dr70tj848b38vlb4ramf0