-
Notifications
You must be signed in to change notification settings - Fork 75
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
Fatal Error when browsing Site Health page #96
Comments
Can you post the full SQL command? Looks like we need to add a rewriter for that to emulate behavior. Per the docs it's similar to show tables which is already implemented but provides some additional info we need to emulate |
@mattbucci already not at pc, but its easily reproducable when visiting site health page in dashboard i think. Maybe you can find the SQL in core files as per trace message: |
I visited the site health dashboard as part of #91 I did not see this command executed |
@mattbucci I really wont be at that project until Monday, but did you visit both tabs on site health page? maybe the second tab generates that SQL |
yes I visited both tabs |
finally able to take a look at this. Not seeing the issue with SHOW TABLE STATUS, but getting another error:
This has lots of problems as information_schema looks nothing like this.
it should look like this I think
|
That comes from not really a point in trying to fix the schema, better to just detect this query and rewrite the whole thing from scratch in the select rewriter, this also doesn't get triggered by multisite installs, only single sites
|
There is now a PR available if you'd like to test it: |
environment:
-wordpress 6.4.3 on roots bedrock
-docker pg16.1, php8.1-fpm
Full SQL command is SHOW TABLE STATUS
The text was updated successfully, but these errors were encountered: