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

---

# strpos() [function.strpos]: Empty delimiter

 *  Resolved [Citizen Smith](https://wordpress.org/support/users/citizen-smith/)
 * (@citizen-smith)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/strpos-functionstrpos-empty-delimiter-1/)
 * I tried the plugin on four websites, hosted by two different hosting companies.
   I used the whitelist but it is not easy to whitelist all the IPs I use – my home
   ISPs have a lot of dynamic IP ranges, and I also access from other locations.
 * I have had this warning from all of them – even a new one that I was setting 
   up (which I know from a log file had only 13 attempted unauthorised logins in
   a week, so it couldn’t be due to a lockout every time)
 * Warning: strpos() [function.strpos]: Empty delimiter in … public_html/blog/wp-
   content/plugins/botnet-attack-blocker/botnet-attack-blocker.php on line 119
 * Warning: Cannot modify header information – headers already sent by (output started
   at … /public_html/blog/wp-content/plugins/botnet-attack-blocker/botnet-attack-
   blocker.php:119) in … /public_html/blog/wp-includes/pluggable.php on line 698
 * plus several more following lines
 * the line numbers vary
 * paths shortened
 * Any ideas as to the cause?
 * [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, 6 months ago](https://wordpress.org/support/topic/strpos-functionstrpos-empty-delimiter-1/#post-4397323)
 * Thanks for the message – I’ve never had this error myself, it means that one 
   of the whitelisted IPs is empty. I’ve just released a new version (1.9.1) that
   hopefully will fix this for you. Let me know how you get on.
 * With the dynamic IPs, you can use partial matching, e.g. type 192.168 to match
   192.168.x.x
 *  Thread Starter [Citizen Smith](https://wordpress.org/support/users/citizen-smith/)
 * (@citizen-smith)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/strpos-functionstrpos-empty-delimiter-1/#post-4397543)
 * Thanks. I have now accessed the sites from three locations without a hitch, so
   your upgrade clearly addressed the problem. I noticed later that I had separated
   two IPs by a comma followed by a space, rather than one or the other, so if that
   was the problem, please accept my apologies!
 * P.S. I did use partial matches, but Talk Talk and Sky have a lot of possible 
   ranges and they don’t make it easy to check what they are. I did eventually find
   their details via myip.ms, so that is now sorted too.

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

The topic ‘strpos() [function.strpos]: Empty delimiter’ 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

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

 * 2 replies
 * 2 participants
 * Last reply from: [Citizen Smith](https://wordpress.org/support/users/citizen-smith/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/strpos-functionstrpos-empty-delimiter-1/#post-4397543)
 * Status: resolved