• Resolved ranone

    (@ranone)


    simply..

    Notice: Undefined index: HTTP_HOST in /wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php on line 164

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi ranone,

    Thanks for reaching out. On line 164 of that file we do this:

    $host = $_SERVER['HTTP_HOST'];

    This will always be set when you are using a ‘normal’ browser, it should always send a HOST header.

    All the best
    Eva

    Thread Starter ranone

    (@ranone)

    Yes, I had seen the line too … ??

    In fact it gives it from CLI. You could enter an additional check to avoid the notice, that’s all ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined index: HTTP_HOST’ is closed to new replies.