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

WordPress Trac noreply at wordpress.org
Tue Nov 9 13:30:34 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 jojooba008):

 I'm also having the same problem.
 My server is running on Ubuntu, and I found out that when bots etc. access
 127.0.1.1 (not 127.0.0.1), I get the notice about canonical.php.
 Could this information be a help in solving this problem?

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


More information about the wp-trac mailing list