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

WordPress Trac noreply at wordpress.org
Tue Jun 13 16:24:44 UTC 2023


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

 I've also applied the diff from @oglekler and now my error_log file only
 outputs this warning.


 {{{
 Undefined array key "path" in /home/xxx/public_html/wp-
 includes/canonical.php on line 710
 }}}

 Any idea how to fix it?
 Thanks!

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


More information about the wp-trac mailing list