I’m afraid we haven’t looked at making it multi site compatible, we will fix this in a future update but I cannot say when that will be, sorry!
Are there any quick fixes for it for the time being? I have a multisite install and on a domain I have mapped as a translation I get:
Warning: Invalid argument supplied for foreach() in domain/www/wp-content/plugins/bot-block-stop-spam-google-analytics-referrals/bot-block.php on line 188
I don’t get this error on the main domain however.
We haven’t actually tried this, but maybe something like this might help. Note that, even if this works, it is a QUICK FIX ONLY, as it is modifying the plugin file directly, and so will be overwritten whenever the plugin is re-installed or upgraded. Also, it will cause ALL sites on the multi-site to share the same list.
In bot-block.php, try changing lines in the constructor from:
$this->master_table_name = $wpdb->prefix . 'bot_block_block_list';
$this->log_table_name = $wpdb->prefix . 'bot_block_log';
to
$this->master_table_name = $wpdb->base_prefix . 'bot_block_block_list';
$this->log_table_name = $wpdb->base_prefix . 'bot_block_log';
HTH.
I will give it a go thanks. I guess the alternative is to block bots with the .htaccess files for each site but I’d rather not have to do this and keep updating it. Is there any possibility that the plugin will be updated to work for multisite in the near future?
Another Workaround:
Disable Network Wide and enable on each site seperately.