Title: Debug.log Warnings
Last modified: August 14, 2017

---

# Debug.log Warnings

 *  Resolved Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/debug-log-warnings/)
 * Hi, I just noticed the following in my debug.log. Not sure what it means though:
 * PHP Notice: Undefined index: SERVER_NAME in /stopbadbots/stopbadbots.php on line
   43
 * PHP Notice: Undefined index: HTTP_USER_AGENT in /stopbadbots/functions/functions.
   php on line 497

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

 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/debug-log-warnings/#post-9428566)
 * Hi,
 * $_SERVER is a PHP super global variable which holds information about headers,
   paths, and script locations.
 * The first one, your server should supply the domain name.
 * The second, the user agent.
 * You need ask to your hosting company why it is not working.
 * Cheers,
 * Bill
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/debug-log-warnings/#post-9428632)
 * Does this mean the plugin isn’t currently working? I’m on litespeed server. Is
   there any incompatibility with that server?
 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/debug-log-warnings/#post-9428658)
 * I think is not incompatibility. I guess your server and PHP install have an issue.
   
   I suggest to you request to them fix it to avoid problems with all themes and
   plugins, not only ours.
 * Here is the PHP manual:
    [http://php.net/manual/en/language.variables.superglobals.php](http://php.net/manual/en/language.variables.superglobals.php)
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/debug-log-warnings/#post-9429036)
 * Hi, I fixed this by uninstalling and reinstalling plugin. I changed server recently
   so something must have affected plugin. Thanks
 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/debug-log-warnings/#post-9429156)
 * Hi,
    You are welcome. Good news. Cheers, Bill
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/debug-log-warnings/#post-9433718)
 * Hi, problems returned. Speaking with my host about this they asked if plugin 
   was compatible with php 7.1?
 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/debug-log-warnings/#post-9433777)
 * Hi,
    Never tested with php 7.1 I suggest to you disable the plugin to avoid problems.
   Cheers, Bill
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/debug-log-warnings/#post-9433896)
 * What php version has this been tested up to?

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

The topic ‘Debug.log Warnings’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: Anonymous User 14978628
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/debug-log-warnings/#post-9433896)
 * Status: resolved