WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 2 weeks ago

#47714 new enhancement

Site Health: Alert about missing tables

Reported by: claudiosanches Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.2
Component: Site Health Keywords: reporter-feedback
Focuses: Cc:
PR Number:

Description

In Site Health Database's section could include warnings about missing tables, like WooCommerce does: https://cloudup.com/crVw1cIAvlQ
Sometimes is hard to debug when is missing some database, also this should cause several problems, having a section warning about it will helps a lot of users.

Change History (4)

#1 @Clorith
4 months ago

  • Keywords needs-patch removed

Woo is checking their own custom tables, so I feel this is a separate thing (there's no reason Woo couldn't add a Site Health Check looking for their tables though, if that's something they'd like to do).

As for looking up missing tables from WordPress core, I'm a bit on the fence. I'd have to do some testing, but I would expect your install to be unusable if important tables were missing in the first place, I've not tested that though, so I'll have to do a bit of digging to see how that.

And of course, is this a frequent enough scenario to warrant checks for it in the first place ?

#2 @claudiosanches
4 months ago

@Clorith this isn't related to WooCommerce, we had this idea after having trouble to debug users websites, where for some reason is missing WordPress core tables, when something like that happens it's may become hard to debug for non-dev users. I'm not saying that this is frequent, of course, but it's a tool that can only help people, become easy to debug problems in forums and so on.
I can write a patch for it, it isn't a problem.

#3 @Clorith
2 weeks ago

  • Keywords reporter-feedback added

How often is this an issue? I must admit I've not heard of this my self, so having some understanding relating to that would help with deciding if this is something that should be looked into or not.

#4 @Clorith
2 weeks ago

  • Version changed from 5.3 to 5.2
Note: See TracTickets for help on using tickets.