[wp-trac] [WordPress Trac] #34353: redirect_canonical() – Undefined indexes 'host' and 'scheme'

WordPress Trac noreply at wordpress.org
Tue Jul 23 18:52:18 UTC 2024


#34353: redirect_canonical() – Undefined indexes 'host' and 'scheme'
-------------------------------------------------+-------------------------
 Reporter:  theamila                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Canonical                            |     Version:  4.3.1
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests has-patch needs-    |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------

Comment (by jpswade):

 Wordpress Version       6.6.1
 PHP version     8.3.9

 {{{
 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key
 "host" in /var/www/html/wp-includes/canonical.php on line 716; PHP
 message: PHP Warning:  Undefined array key "host" in /var/www/html/wp-
 includes/canonical.php on line 727; PHP message: PHP Warning:  Undefined
 array key "host" in /var/www/html/wp-includes/canonical.php on line 730"
 while reading response header from upstream, client: 205.210.31.140,
 server: _, request: "GET / HTTP/1.0", upstream:
 "fastcgi://unix:/var/run/php/php8.3-fpm.sock:"

 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/34353#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list