Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] PHP DB notices on first activation #332

Open
bmarshall511 opened this issue Aug 30, 2022 · 2 comments
Open

[BUG] PHP DB notices on first activation #332

bmarshall511 opened this issue Aug 30, 2022 · 2 comments
Assignees

Comments

@bmarshall511
Copy link
Collaborator

In a fresh WP install, when activating the plugin for the first time, get the following errors:

Query Caller Component Error Message Error Code
DESCRIBE wp_wpzerospam_log; +ZeroSpam\I\DB->update() Plugin: zero-spam-for-wordpress Table 'local.wp_wpzerospam_log' doesn't exist 1146
DESCRIBE wp_wpzerospam_blocked; +ZeroSpam\I\DB->update() Plugin: zero-spam-for-wordpress Table 'local.wp_wpzerospam_blocked' doesn't exist 1146
@DonnieBoy
Copy link

I have activated/deactivated several times the plugin in Network but the problem remains, why?

@bmarshall511
Copy link
Collaborator Author

As a note to look into, may need to try a different hook to trigger table creation/updates. Perhaps https://developer.wordpress.org/reference/hooks/upgrader_process_complete/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants