Title: Undefined index: HTTP_USER_AGENT
Last modified: December 12, 2017

---

# Undefined index: HTTP_USER_AGENT

 *  Resolved [thedream09](https://wordpress.org/support/users/thedream09/)
 * (@thedream09)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-index-http_user_agent-12/)
 * Hi.
 * Thank for devleop plugin. In debug i found
 * Undefined index: HTTP_USER_AGENT
    Type: PHP Notice Line: 438 File: /stopbadbots/
   functions/functions.php
 * My web used SSL, how can i fix this?
 * Thanks

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

 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-index-http_user_agent-12/#post-9778076)
 * Hi,
 * You are welcome.
    I just fixed it and created the **Version 4.7** Please, try
   to **update your version**. Looks like your server PHP fail to return your user
   agent with your browser. $_SERVER[‘HTTP_USER_AGENT’] For more details, **talk
   with your hosting company**. Anyway, now, when fails, the plugin have a default
   string and don’t show that notice.
 * Cheers,
    Bill
 *  Thread Starter [thedream09](https://wordpress.org/support/users/thedream09/)
 * (@thedream09)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-index-http_user_agent-12/#post-9778581)
 * Thank you for update.

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

The topic ‘Undefined index: HTTP_USER_AGENT’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/stopbadbots_f0f0f0.svg)
 * [Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection](https://wordpress.org/plugins/stopbadbots/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stopbadbots/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stopbadbots/)
 * [Active Topics](https://wordpress.org/support/plugin/stopbadbots/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stopbadbots/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stopbadbots/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [thedream09](https://wordpress.org/support/users/thedream09/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-index-http_user_agent-12/#post-9778581)
 * Status: resolved