Title: Warning: strpos() [function.strpos]: Empty needle
Last modified: August 21, 2016

---

# Warning: strpos() [function.strpos]: Empty needle

 *  Resolved [ferguswebsites](https://wordpress.org/support/users/ferguswebsites/)
 * (@ferguswebsites)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/warning-strpos-functionstrpos-empty-needle/)
 * Noticed a warning at the top of my log in screen (before logging in):
 * Warning: strpos() [function.strpos]: Empty needle in /home/[account]/public_html/
   blog/wp-content/plugins/botnet-attack-blocker/botnet-attack-blocker.php on line
   70
 * What does it mean, and how to fix it?
 * Thanks.
 * [http://wordpress.org/plugins/botnet-attack-blocker/](http://wordpress.org/plugins/botnet-attack-blocker/)

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

 *  Plugin Author [cheesefather](https://wordpress.org/support/users/cheesefather/)
 * (@cheesefather)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/warning-strpos-functionstrpos-empty-needle/#post-4118906)
 * That section of code is about to be completely rewritten as it has become a pain
   in the unmentionables! For the moment, if you make sure you have something (an
   IP address preferably) in the whitelist field that should stop the error appearing.
   Sorry about that.
 *  Thread Starter [ferguswebsites](https://wordpress.org/support/users/ferguswebsites/)
 * (@ferguswebsites)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/warning-strpos-functionstrpos-empty-needle/#post-4118910)
 * Thanks for the reply.
 * Could you tell me which IP address you are talking about? I already whitelisted
   my own.

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

The topic ‘Warning: strpos() [function.strpos]: Empty needle’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/botnet-attack-blocker.svg)
 * [Botnet Attack Blocker](https://wordpress.org/plugins/botnet-attack-blocker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/botnet-attack-blocker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/botnet-attack-blocker/)
 * [Active Topics](https://wordpress.org/support/plugin/botnet-attack-blocker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/botnet-attack-blocker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/botnet-attack-blocker/reviews/)

## Tags

 * [function.strpos](https://wordpress.org/support/topic-tag/function-strpos/)
 * [strpos](https://wordpress.org/support/topic-tag/strpos/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [ferguswebsites](https://wordpress.org/support/users/ferguswebsites/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/warning-strpos-functionstrpos-empty-needle/#post-4118910)
 * Status: resolved