Support » Plugin: WordPress Zero Spam » DB Erro

  • Resolved Ramanan

    (@superpoincare)


    I am getting this error

    WordPress database error Table ‘[].wp_zerospam_blocked_ips’ doesn’t exist for query SELECT * FROM wp_zerospam_blocked_ips WHERE ip = ‘[]’ made by 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

    I have used [] above to hide the identity etc.

    I had first installed it and then removed it and removed tables created to just check the difference. Now that I have installed it again, the plugin seems to think the table exists in the DB.

    https://wordpress.org/plugins/zero-spam/

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

    (@superpoincare)

    Apologies. Seems to work now.

    Ramanan

    (@superpoincare)

    Oops. Sorry again. But I am getting the same DB errors again.

    Ramanan

    (@superpoincare)

    Any update on this?

    Ramanan

    (@superpoincare)

    Looks like your code logic about the table zerospam_ip_data is circular.

    Plugin Author bmarshall511

    (@bmarshall511)

    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.

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘DB Erro’ is closed to new replies.