[wp-trac] [WordPress Trac] #61071: Need to display appropriate error messages when the database table is empty or corrupted.
WordPress Trac
noreply at wordpress.org
Wed Apr 24 14:18:36 UTC 2024
#61071: Need to display appropriate error messages when the database table is empty
or corrupted.
-------------------------------------+-------------------------------------
Reporter: vishalvaland | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 6.4
Severity: normal | Keywords: dev-feedback needs-
Focuses: sustainability, coding- | testing reporter-feedback has-unit-
standards | tests
-------------------------------------+-------------------------------------
A few days ago, I received a new issue from the client regarding the
"Error Establishing Database Connection." Upon investigation, I discovered
that this error occurred due to an empty or corrupted wp_options table.
After repairing the table, the site functioned normally.
Given that the error message may mislead frontend developers into
troubleshooting database connection issues unnecessarily, I recommend
implementing a specific error message indicating that the connection is
intact but the site is experiencing issues due to a corrupted or empty
table. This will provide clearer guidance for troubleshooting.
Please review this suggestion and let me know if you have any questions or
concerns.
Thank you!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61071>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list