[wp-trac] [WordPress Trac] #63316: [E_WARNING] Undefined array key "host" in wp-includes/canonical.php on line 717

WordPress Trac noreply at wordpress.org
Mon Apr 21 22:52:10 UTC 2025


#63316: [E_WARNING] Undefined array key "host" in wp-includes/canonical.php on line
717
-------------------------------------------------+-------------------------
 Reporter:  ArtZ91                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Canonical                            |     Version:  6.8
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing-info reporter-         |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  needs-testing-info => needs-testing-info reporter-feedback


Comment:

 @ArtZ91 I'm not 100% confident, but it appears that the scanner is
 accessing your host without the Host header, which might be triggering
 that warning.

 When you fill this kind of reports, ideally I would recommend you to
 download this plugin into your site
 https://wordpress.org/plugins/test-reports/ and send the environment
 variables or attach the Site Health > Info report

 Which provides some variables of what you are using, php versions, server
 info, etc...

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


More information about the wp-trac mailing list