WordPress / WordPress/plugin-check
Plugins Fail to Create Custom Tables in Database During Runtime Check
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 362
- Forks
- 126
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 22
Description
Describe the bug
I am encountering a persistent issue with both WooCommerce and Yoast SEO plugins. These plugins are expected to create custom tables in the WordPress database during installation or activation. However, I have noticed that sometimes, the tables are not being created, leading to "table not found" errors during runtime checks.
Steps to Reproduce
- Setup Plugin Checker in you local system using steps outline here
- Install and activate WooCommerce plugin
- Go to Admin Panel > Tools > Plugin Check
- Open The Browsers Network tab
- Select "WooCommerce" and click on "Check it!" button
- Check "enqueued_scripts_size" and "enqueued_styles_scope" check output in network tab.
Screenshots, screen recording, code snippet
Environment information
No response
WordPress information
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by following the contributing setup and reproducing the WooCommerce case through Tools > Plugin Check. Inspect the network output for the enqueued_scripts_size and enqueued_styles_scope checks, then verify that the plugin's custom tables exist during the runtime check and that no table-not-found error occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- databases, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100