[wp-trac] [WordPress Trac] #32229: redirect_canonical - Undefined Index HTTP_HOST

WordPress Trac noreply at wordpress.org
Mon May 4 14:12:17 UTC 2015


#32229: redirect_canonical - Undefined Index HTTP_HOST
--------------------------+------------------------------
 Reporter:  Howdy_McGee   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Canonical     |     Version:  4.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by Howdy_McGee):

 I've also created a `debug_backtrace` of  the issue incase it's any help:


 {{{
 Array
 (
     [0] => Array
         (
             [function] => redirect_canonical
             [args] => Array
                 (
                     [0] =>
                 )
         )

     [1] => Array
         (
             [file] => /httpdocs/wp-includes/plugin.php
             [line] => 496
             [function] => call_user_func_array
             [args] => Array
                 (
                     [0] => redirect_canonical
                     [1] => Array
                         (
                             [0] =>
                         )
                 )
         )

     [2] => Array
         (
             [file] => /httpdocs/wp-includes/template-loader.php
             [line] => 12
             [function] => do_action
             [args] => Array
                 (
                     [0] => template_redirect
                 )
         )

     [3] => Array
         (
             [file] => /httpdocs/wp-blog-header.php
             [line] => 16
             [args] => Array
                 (
                     [0] => /httpdocs/wp-includes/template-loader.php
                 )
             [function] => require_once
         )

     [4] => Array
         (
             [file] => /httpdocs/index.php
             [line] => 17
             [args] => Array
                 (
                     [0] => /httpdocs/wp-blog-header.php
                 )
             [function] => require
         )
 )
 }}}

 Also a related bug:

 `PHP Notice:  Undefined index: HTTP_HOST in /httpdocs/wp-includes/nav-
 menu-template.php on line 549`

 If need be I can create a `debug_backtrace` on that too.

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


More information about the wp-trac mailing list