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

WordPress Trac noreply at wordpress.org
Sat Nov 13 03:55:29 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 mcjambi):

 My WordPress is a newest copy, Wordpress 5.8.2 and bug still there:

 [11-Nov-2021 04:25:01 UTC] PHP Notice:  Undefined index: scheme in
 /opt/bitnami/wordpress/wp-includes/canonical.php on line 720
 [11-Nov-2021 10:32:14 UTC] PHP Notice:  Undefined index: host in
 /opt/bitnami/wordpress/wp-includes/canonical.php on line 687
 [11-Nov-2021 10:32:14 UTC] PHP Notice:  Undefined index: host in
 /opt/bitnami/wordpress/wp-includes/canonical.php on line 696
 [11-Nov-2021 10:32:14 UTC] PHP Notice:  Undefined index: host in
 /opt/bitnami/wordpress/wp-includes/canonical.php on line 699

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


More information about the wp-trac mailing list