Domain Maping v4.3.0.4 Generating PHP Debug Errors

Hello,

Our host support department at Page.ly notified us that Domain Mapping is throwing the following errors that need resolving.

PHP Notice: Undefined index: HTTP_HOST in /data/s2400/dom9171/dom9171/wp-content/plugins/domain-mapping/inc/sunrise.php on line 12
Notice: Undefined index: HTTP_HOST in /data/s2400/dom9171/dom9171/wp-content/plugins/domain-mapping/inc/sunrise.php on line 12

Any assistance would be appreciated.

Thanks

  • Vinod Dalvi
    • WP Unicorn

    Hi @SooBahkDo,

    Thanks for posting on the forum.

    This is a simple PHP notice and most of the time it doesn't affect functionality of site so it is nothing to worry about!

    Do you have WP_DEBUG set to true in your wp-config.php file?

    If you do then please set it to false.
    This will hide the warning messages and you will be able to use your site normally.

    I have tested it on my test site using latest version of Domain Mapping plugin and setting wp debug to true but didn't get any PHP notices like you.

    Where are you getting it?

    Are you using PHP-CLI?

    If yes then try using the following solution.

    http://stackoverflow.com/a/12818179/1287548

    Kind Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.