zero-spam-for-wordpress icon indicating copy to clipboard operation
zero-spam-for-wordpress copied to clipboard

Brken SQL - missing tables

Open lordmatt opened this issue 1 year ago • 0 comments

Describe the bug

It looks like the plugin has not made the tables correctly – I’m seeing a lot of errors in my error log file that look like this (somewhat redacted) error,

Steps to Reproduce

  1. look in error logs
  2. see many errors

Screenshots, screen recording, code snippet

[Thu Mar 14 23:59:52 2024] [error] [client|IP|] AH01071: Got error ‘PHP message: WordPress database error Table ‘|SNIP|.wp_3_wpzerospam_blocked’ doesn’t exist for query SELECT * FROM wp_3_wpzerospam_blocked WHERE user_ip = “|IP|” made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, ZeroSpam\Core\Access->access_check, ZeroSpam\Core\Access->get_access, apply_filters(‘zerospam_access_checks’), WP_Hook->apply_filters, ZeroSpam\Core\Access->check_blocked, ZeroSpam\Includes\DB::blocked’

Environment information

Everything is pretty standard

WordPress information

The plugin is running on a multisite

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

lordmatt avatar Mar 15 '24 00:03 lordmatt