Thread Starter
Ramanan
(@superpoincare)
Apologies. Seems to work now.
Thread Starter
Ramanan
(@superpoincare)
Oops. Sorry again. But I am getting the same DB errors again.
Thread Starter
Ramanan
(@superpoincare)
Looks like your code logic about the table zerospam_ip_data is circular.
I’m unable to reproduce this. Sounds like you’ve got a corrupt install of the plugin. Disable, uninstall and ensure all zerospam tables have been deleted in your DB. Then install again.
Thread Starter
Ramanan
(@superpoincare)
Thanks for your reply.
I have tried to do that. Doesn’t help. I am thus running your plugin with minimal options.
Anyway, can you tell me where this table is created.
https://github.com/bmarshall511/wordpress-zero-spam/blob/06c7489e4f2e97a71dbdf822d46856fcf2aa6b1e/src/ZeroSpam/Install.php#L34
I am also receiving this error written to the error_log file. I am on a Multisite install and I have uninstalled the plugin, verified that all zerospam tables were removed and then reinstalled. An error is recorded every time a user hits my site. Error is below:
[19-Oct-2015 15:14:40 UTC] WordPress database error Table ‘db_name.wp_24_zerospam_blocked_ips’ doesn’t exist for query SELECT * FROM wp_24_zerospam_blocked_ips WHERE ip = ‘24.173.96.46’ made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), call_user_func_array, ZeroSpam_Access->plugins_loaded, ZeroSpam_Access->ip_check, zerospam_is_blocked, zerospam_get_blocked_ip