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

WordPress Trac noreply at wordpress.org
Fri May 6 06:03:54 UTC 2022


#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 yatgirl):

 so glad to have found this thread - I have been trying to track this error
 down forever.  (thought it was just me) Cant believe the issue has been
 around 7 years and no resolution ?


 {{{
 [05-May-2022 19:53:53 UTC] PHP Notice:  Undefined index: host in
 /home/*removed*/public_html/wp-includes/canonical.php on line 687
 [05-May-2022 19:53:53 UTC] PHP Notice:  Undefined index: host in
 /home/*removed*/public_html/wp-includes/canonical.php on line 696
 [05-May-2022 19:53:53 UTC] PHP Notice:  Undefined index: host in
 /home/*removed*/public_html/wp-includes/canonical.php on line 699
 [05-May-2022 19:53:53 UTC] PHP Notice:  Undefined index: scheme in
 /home/*removed*/public_html/wp-includes/canonical.php on line 720
 }}}

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


More information about the wp-trac mailing list