[wp-trac] [WordPress Trac] #62334: Undefined array key "host" in canonical.php

WordPress Trac noreply at wordpress.org
Sat Nov 2 05:07:05 UTC 2024


#62334: Undefined array key "host" in canonical.php
-------------------------------+-----------------------------
 Reporter:  morebrackets       |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  General            |    Version:  6.6.2
 Severity:  normal             |   Keywords:
  Focuses:  php-compatibility  |
-------------------------------+-----------------------------
 Nginx version: nginx/1.26.2
 PHP version: PHP 8.3.6 (cli) (built: Sep 30 2024 15:17:17) (NTS)
 Note: Nginx now supports HTTP/3 (QUIK) which may not report the host &
 scheme vars the same way as HTTP/1 & HTTP/2

 ==> /var/log/nginx/error.log <==
 2024/11/02 04:51:32 [error] 52855#52855: *11 FastCGI sent in stderr: "PHP
 message: PHP Warning:  Undefined array key "host" in /var/www/example.com
 /wp-includes/canonical.php on line 716; PHP message: PHP Warning:
 Undefined array key "host" in /var/www/example.com/wp-
 includes/canonical.php on line 727; PHP message: PHP Warning:  Undefined
 array key "host" in /var/www/example.com/wp-includes/canonical.php on line
 730; PHP message: PHP Warning:  Undefined array key "scheme" in
 /var/www/example.com/wp-includes/canonical.php on line 751; PHP message:
 PHP Warning:  Undefined array key "host" in /var/www/example.com/wp-
 includes/canonical.php on line 716; PHP message: PHP Warning:  Undefined
 array key "host" in /var/www/example.com/wp-includes/canonical.php on line
 727; PHP message: PHP Warning:  Undefined array key "host" in
 /var/www/example.com/wp-includes/canonical.php on line 730; PHP message:
 PHP Warning:  Undefined array key "scheme" in /var/www/example.com/wp-
 includes/canonical.php on line 751" while reading response header from
 upstream, client: x.x.x.x, server: stocksrecords.com, request: "GET
 /secret HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.3-fpm.sock:"

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62334>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list