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
44240
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
44.200.94.150
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:/www/server/apache/lib
PATH
/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/www/server/panel/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.zhierde.com
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_IF_MODIFIED_SINCE
Wed, 22 May 2024 00:18:33 GMT
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
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
1728516608.3151
REQUEST_TIME
1728516608
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
1728516608.3155
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