[wp-trac] [WordPress Trac] #39880: PHP Notice: Undefined index: host in canonical.php on line 444

WordPress Trac noreply at wordpress.org
Wed Feb 15 09:59:01 UTC 2017


#39880: PHP Notice: Undefined index: host in canonical.php on line 444
--------------------------+-----------------------------
 Reporter:  romgo         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.7.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello,

 I am having this message in my error log :

 PHP Notice:  Undefined index: host in <removed>/www/wp-
 includes/canonical.php on line 444
 PHP Notice:  Undefined index: host in <removed>/www/wp-
 includes/canonical.php on line 445
 PHP Notice:  Undefined index: host in <removed>/www/wp-
 includes/canonical.php on line 445
 PHP Notice:  Undefined index: host in <removed>/www/wp-
 includes/canonical.php on line 446
 PHP Notice:  Undefined index: host in <removed>/www/wp-
 includes/canonical.php on line 448


 running wordpress 4.7.2

 This message is coming from my nagios server, can reproduce with :

 ./check_http -S $hostname

 Maybe the issue is coming from the fact that $hostname is not the name of
 my public URL.

 If need more information feel free to ask.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39880>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list