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

WordPress Trac noreply at wordpress.org
Thu Dec 23 02:31:32 UTC 2021


#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-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------

Comment (by Mayhem30):

 I'm also having this issue :


 {{{
 [21-Dec-2021 11:27:10 UTC] PHP Warning:  Undefined array key "host" in
 /www/example.com/httpdocs/wp-includes/canonical.php on line 687
 [21-Dec-2021 11:27:10 UTC] PHP Warning:  Undefined array key "host" in
 /www/example.com/httpdocs/wp-includes/canonical.php on line 696
 [21-Dec-2021 11:27:10 UTC] PHP Warning:  Undefined array key "host" in
 /www/example.com/httpdocs/wp-includes/canonical.php on line 699
 [21-Dec-2021 11:27:10 UTC] PHP Warning:  Undefined array key "scheme" in
 /www/example.com/httpdocs/wp-includes/canonical.php on line 720
 }}}

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


More information about the wp-trac mailing list