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

WordPress Trac noreply at wordpress.org
Sat Apr 2 11:25:08 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 ecomturbo):

 This bug is still littering the log files in v5.9.2, out of the box.
 Seriously annoying. It would be really appreciated if this could be solved
 once and for all.
 Thank you.

 Undefined array key "host"      unknown /wp-includes/canonical.php: 699
 Undefined index: scheme unknown /wp-includes/canonical.php: 854
 Undefined array key "host"      unknown /wp-includes/canonical.php: 699
 Undefined index: scheme unknown /wp-includes/canonical.php: 854

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


More information about the wp-trac mailing list