Fatal error: Uncaught think\exception\ErrorException: http_response_code() expects parameter 1 to be integer, string given in /www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/library/think/Response.php:113 Stack trace: #0 [internal function]: think\Error::appError(2, 'http_response_c...', '/www/wwwroot/ze...', 113, Array) #1 /www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/library/think/Response.php(113): http_response_code('id\xE4\xB8\x8D\xE5\x8F\xAF\xE7\xA9\xBA') #2 /www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/library/think/Error.php(52): think\Response->send() #3 [internal function]: think\Error::appException(Object(think\exception\HttpException)) #4 {main} thrown in /www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/library/think/Response.php on line 113
System Error

[1] ErrorException in Response.php line 113

Uncaught think\exception\ErrorException: http_response_code() expects parameter 1 to be integer, string given in /www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/library/think/Response.php:113
Stack trace:
#0 [internal function]: think\Error::appError(2, 'http_response_c...', '/www/wwwroot/ze...', 113, Array)
#1 /www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/library/think/Response.php(113): http_response_code('id\xE4\xB8\x8D\xE5\x8F\xAF\xE7\xA9\xBA')
#2 /www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/library/think/Error.php(52): think\Response->send()
#3 [internal function]: think\Error::appException(Object(think\exception\HttpException))
#4 {main}
thrown

  1. $this->header['Cache-Control'] = 'max-age=' . $cache[1] . ',must-revalidate';
  2. $this->header['Last-Modified'] = gmdate('D, d M Y H:i:s') . ' GMT';
  3. $this->header['Expires'] = gmdate('D, d M Y H:i:s', $_SERVER['REQUEST_TIME'] + $cache[1]) . ' GMT';
  4. Cache::tag($cache[2])->set($cache[0], [$data, $this->header], $cache[1]);
  5. }
  6. }
  7. if (!headers_sent() && !empty($this->header)) {
  8. // 发送状态码
  9. http_response_code($this->code);
  10. // 发送头部信息
  11. foreach ($this->header as $name => $val) {
  12. if (is_null($val)) {
  13. header($name);
  14. } else {
  15. header($name . ':' . $val);
  16. }
  17. }
  18. }

Call Stack

  1. in Response.php line 113
  2. at Error::appShutdown()

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/article/aboutus.html
QUERY_STRING
s=article/aboutus.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=article/aboutus.html
REDIRECT_URL
/article/aboutus.html
REMOTE_PORT
36264
SCRIPT_FILENAME
/www/wwwroot/zed_web_dgjzl_cn/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/zed_web_dgjzl_cn
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/www/wwwroot/zed_web_dgjzl_cn
REMOTE_ADDR
34.236.152.203
SERVER_PORT
80
SERVER_ADDR
172.18.121.190
SERVER_NAME
www.zhierde.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at www.zhierde.com Port 80</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST
www.zhierde.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
proxy-nokeepalive
1
SCRIPT_URI
http://www.zhierde.com/article/aboutus.html
SCRIPT_URL
/article/aboutus.html
REDIRECT_STATUS
200
REDIRECT_SCRIPT_URI
http://www.zhierde.com/article/aboutus.html
REDIRECT_SCRIPT_URL
/article/aboutus.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710841977.503
REQUEST_TIME
1710841977
PATH_INFO
article/aboutus.html
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
/www/wwwroot/zed_web_dgjzl_cn/
APP_PATH
/www/wwwroot/zed_web_dgjzl_cn/app/
CMF_PATH
/www/wwwroot/zed_web_dgjzl_cn/simplewind/cmf/
WEB_ROOT
/www/wwwroot/zed_web_dgjzl_cn/
PLUGINS_PATH
/www/wwwroot/zed_web_dgjzl_cn/plugins/
EXTEND_PATH
/www/wwwroot/zed_web_dgjzl_cn/simplewind/extend/
VENDOR_PATH
/www/wwwroot/zed_web_dgjzl_cn/simplewind/vendor/
RUNTIME_PATH
/www/wwwroot/zed_web_dgjzl_cn/data/runtime/
THINKCMF_VERSION
5.0.190111
THINK_VERSION
5.0.24
THINK_START_TIME
1710841977.5034
THINK_START_MEM
368968
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/
LIB_PATH
/www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/library/
CORE_PATH
/www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/zed_web_dgjzl_cn/simplewind/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/zed_web_dgjzl_cn/
LOG_PATH
/www/wwwroot/zed_web_dgjzl_cn/data/runtime/log/
CACHE_PATH
/www/wwwroot/zed_web_dgjzl_cn/data/runtime/cache/
TEMP_PATH
/www/wwwroot/zed_web_dgjzl_cn/data/runtime/temp/
CONF_PATH
/www/wwwroot/zed_web_dgjzl_cn/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/zed_web_dgjzl_cn/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.7