Title: Error message
Last modified: August 31, 2016

---

# Error message

 *  [mhairilongmuir](https://wordpress.org/support/users/mhairilongmuir/)
 * (@mhairilongmuir)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-message-517/)
 * Hi there,
 * I am getting an error message when I have this plugin turned on (I also have 
   WP debugging enabled in the wp-config.php file):
 * >  Warning: Invalid argument supplied for foreach() in /WWW/www.domainname/htdocs/
   > main/wp-content/plugins/bot-block-stop-spam-google-analytics-referrals/bot-
   > block.php on line 188
 * I’m using multi-site, the most recent version, and all my plugins etc are up 
   to date.
 * Please advise,
 * Cheers
 * [https://wordpress.org/plugins/bot-block-stop-spam-google-analytics-referrals/](https://wordpress.org/plugins/bot-block-stop-spam-google-analytics-referrals/)

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

 *  [katikos](https://wordpress.org/support/users/kovats/)
 * (@kovats)
 * [10 years ago](https://wordpress.org/support/topic/error-message-517/#post-7216672)
 * I see the same error on my multisite installation, with subdomains.
 * The bot block plugin ist network-wide activated. The error message is visible
   on sub sites but not on the main site.
 * Thank you for looking into it!
 *  Thread Starter [mhairilongmuir](https://wordpress.org/support/users/mhairilongmuir/)
 * (@mhairilongmuir)
 * [10 years ago](https://wordpress.org/support/topic/error-message-517/#post-7216673)
 * Interesting – it would be good to know if there were any fixes, cheers
 *  [jefmcclimans](https://wordpress.org/support/users/jefmcclimans/)
 * (@jefmcclimans)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-message-517/#post-7216685)
 * same error, but on a line 309.
 * Are you also getting this error right above in the “Last time block list was 
   updated” area?
 * > Warning: date() expects parameter 2 to be long, string given in /public_html/
   > wp-content/plugins/bot-block-stop-spam-google-analytics-referrals/bot-block.
   > php on line 566
 *  [katikos](https://wordpress.org/support/users/kovats/)
 * (@kovats)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-message-517/#post-7216686)
 * no, I see the exact same error messages as written by mhairilongmuir, and they
   appear on subdomains sites, not on the main site.
 *  [peterbisset](https://wordpress.org/support/users/peterbisset/)
 * (@peterbisset)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/error-message-517/#post-8229164)
 * Did anyone manage to get a solution to this? I’ve got the exact same problem.
   Strange thing is it doesn’t effect a sub-folder multisite but it is effecting
   a multisite I have on a different domain.
 *  [Adrian Mörchen](https://wordpress.org/support/users/adrian2k7/)
 * (@adrian2k7)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-message-517/#post-8367097)
 * Same problem here as well. (also multi-site)
 *  [Adrian Mörchen](https://wordpress.org/support/users/adrian2k7/)
 * (@adrian2k7)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-message-517/#post-8367112)
 * Workaround: Don’t activate network wide, just on each site within the network
   seperatly.

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

The topic ‘Error message’ is closed to new replies.

 * ![](https://ps.w.org/bot-block-stop-spam-google-analytics-referrals/assets/icon-
   128x128.png?rev=1207566)
 * [Bot Block - Stop Spam Referrals in Google Analytics](https://wordpress.org/plugins/bot-block-stop-spam-google-analytics-referrals/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bot-block-stop-spam-google-analytics-referrals/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bot-block-stop-spam-google-analytics-referrals/)
 * [Active Topics](https://wordpress.org/support/plugin/bot-block-stop-spam-google-analytics-referrals/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bot-block-stop-spam-google-analytics-referrals/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bot-block-stop-spam-google-analytics-referrals/reviews/)

## Tags

 * [argument](https://wordpress.org/support/topic-tag/argument/)
 * [debugging](https://wordpress.org/support/topic-tag/debugging/)
 * [invalid](https://wordpress.org/support/topic-tag/invalid/)
 * [message](https://wordpress.org/support/topic-tag/message/)
 * [supplied](https://wordpress.org/support/topic-tag/supplied/)

 * 7 replies
 * 5 participants
 * Last reply from: [Adrian Mörchen](https://wordpress.org/support/users/adrian2k7/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/error-message-517/#post-8367112)
 * Status: not resolved