Support » Plugin: Multiple Domain Mapping on Single Site » PHP Notice: Undefined index: HTTP_HOST in multidomainmapping.php on line 81

  • Resolved mattnealstafflink

    (@mattnealstafflink)


    G’day!

    I’ve been using the plugin successfully, but my error log is being flooded by this message. I actually don’t know specifically what’s triggering it. here’s the full thing:

    [20-Nov-2022 23:33:02 UTC] PHP Notice: Undefined index: HTTP_HOST in /sites/{REDACTED}.com.au/files/wp-content/plugins/multiple-domain-mapping-on-single-site/multidomainmapping.php on line 81

    Has anyone come across this at all and what might be causing it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    hy,
    we’ve looked into this and it may be because of robots access or other access to the site that is not made via a browser.

    you must not worry about it, since it does not affect functionality when accessed by browser or also google bots. anyway, we will fix the notice with one of our next updates to prevent the notices to be logged.

    thanks for reporting!
    we are always happy about a 5* review if you enjoy the plugin 🙂

    matt

    Thread Starter mattnealstafflink

    (@mattnealstafflink)

    Thanks for the reply,

    After some more digging around, I noticed that it was indeed a bot. I noticed a lot of requests to “autodiscover/autodiscover.xml”, followed by a request to the url “/”, then the warning would appear.

    I wasn’t worried about there being an actual issue, but it was just clogging up my logs 🙂

    Thanks!

    Plugin Author matthias.wagner

    (@matthiaswagner)

    glad to hear 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Notice: Undefined index: HTTP_HOST in multidomainmapping.php on line 81’ is closed to new replies.