wp_errors
StaticStores errors data created by this plugin.
Column Definitions
| Column | Type | Nullable |
|---|---|---|
| it | only | YES |
CREATE TABLE Statement
CREATE TABLE errors (it only logs them via // $wpdb), so a server that rejects the schema leaves no table // behind. Don't record the schema version for a table that // doesn't exist. self::$last_install_error = $error; return false; } self::$last_install_error = ''; // On a v1 → v2 upgrade, pre-existing rows have post_type='' (dbDelta's // DEFAULT fills new columns). A per-CPT count query would miss them, // so TRUNCATE and rely on the admin dashboard / WP-CLI rebuild to // reindex with correct post_type values. v2.2 has not shipped yet so // no production data is lost. if ( $needs_truncate ) { // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching,WordPress.DB.DirectDatabaseQuery.SchemaChange -- deliberate upgrade-time schema reset. $wpdb->query( $wpdb->prepare( 'TRUNCATE TABLE %i', $table ) );Safe to delete?
If you have uninstalled DesignSetGo, this table is generally safe to remove. However, always back up your database first.
Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.
How to remove this table
DROP TABLE IF EXISTS `wp_errors`;
Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.
Other tables from DesignSetGo