Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开启将html压缩为一行,NGINX报错 #360

Closed
echome123 opened this issue Dec 12, 2023 · 0 comments
Closed

开启将html压缩为一行,NGINX报错 #360

echome123 opened this issue Dec 12, 2023 · 0 comments

Comments

@echome123
Copy link
Contributor

  • 主题版本号:2.8.0
  • WordPress版本:6.4
  • PHP版本:8.1
  • 问题阐述:打开将html压缩为一行后,nginx的错误日志每次访问都会新增如下内容(每天新增好几M的日志量):
2023/12/12 15:01:38 [error] 278807#0: *71446 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key 1 in /www/wwwroot/www.xxxxxx.cc/wp-content/themes/wordpress-theme-puock-1.8/inc/fun/opt.php on line 221PHP message: PHP Warning:  Undefined array key 1 in /www/wwwroot/www.xxxxxxxx.cc/wp-content/themes/wordpress-theme-puock-1.8/inc/fun/opt.php on line 224" while reading response header from upstream, client: 123.123.123.123, server: www.xxxxxxxx.cc, request: "GET /article/569.html HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-81.sock:", host: "www.xxxxxx.cc"
@echome123 echome123 added the 待确认问题 等待确认是否是已存在的问题 label Dec 12, 2023
@Licoy Licoy added 已解决 and removed 待确认问题 等待确认是否是已存在的问题 labels Jan 23, 2024
Licoy added a commit that referenced this issue Jan 23, 2024
@Licoy Licoy closed this as completed Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants