Title: PHP Warning: Undefined array key &#8220;HTTP_HOST&#8221;
Last modified: June 16, 2023

---

# PHP Warning: Undefined array key “HTTP_HOST”

 *  Resolved [dsawyers](https://wordpress.org/support/users/dsawyers/)
 * (@dsawyers)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/)
 * We see frequent errors in our log files every day. Any ideas how to resolve this?
 *     ```wp-block-code
       [16-Jun-2023 02:30:31 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:31 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:32 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:34 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:34 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:34 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:36 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:36 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:36 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:38 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:38 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:38 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:39 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:39 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:40 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:41 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:41 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:41 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:43 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:43 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63[16-Jun-2023 02:30:43 UTC] PHP Warning: Undefined array key "HTTP_HOST" in /[removed]wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php on line 63
       ```
   

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/#post-16825872)
 * We have update coming up early next week. I will make sure to check this out 
   before we push the update.
 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/#post-16841998)
 * It should be resolved in version 1.9.87
 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/#post-16848681)
 * have not heard back. Marking this resolved.
 *  [bapakrob](https://wordpress.org/support/users/bapakrob/)
 * (@bapakrob)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/#post-16898137)
 * [@gplsaver](https://wordpress.org/support/users/gplsaver/) I’m experiencing sort
   of the same error, whilst running a cron job:
 * PHP Warning:  Undefined array key “HTTP_HOST” in /var/www/vhosts/mydomain.com
   [/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php](http://indutrade.nl/siriusmast.com/wp-content/plugins/woo-rfq-for-woocommerce/woo-rfq-includes/woo-rfq-functions.php)
   on line 103
 * Hope you can tackle this one as well…
   Rob
 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/#post-16901534)
 * can you try version **1.9.98** ?
 *  Thread Starter [dsawyers](https://wordpress.org/support/users/dsawyers/)
 * (@dsawyers)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/#post-16901671)
 * I just updated the plugin and I’ll let you know if we see any new errors after
   today.
 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/#post-16902008)
 * thank you.
 *  Thread Starter [dsawyers](https://wordpress.org/support/users/dsawyers/)
 * (@dsawyers)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/#post-16907483)
 * I haven’t seen any new errors from this plugin.
 *  Plugin Author [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * (@gplsaver)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/#post-16907619)
 * Thank you for the feedback. 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘PHP Warning: Undefined array key “HTTP_HOST”’ is closed to new replies.

 * ![](https://ps.w.org/woo-rfq-for-woocommerce/assets/icon-128x128.png?rev=2024323)
 * [NP Quote Request for WooCommerce](https://wordpress.org/plugins/woo-rfq-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-rfq-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-rfq-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-rfq-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-rfq-for-woocommerce/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Neah Plugins](https://wordpress.org/support/users/gplsaver/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_host-2/#post-16907619)
 * Status: resolved