Title: Plugin DB error
Last modified: May 18, 2026

---

# Plugin DB error

 *  Resolved [Timi Makinde](https://wordpress.org/support/users/temak/)
 * (@temak)
 * [5 days, 14 hours ago](https://wordpress.org/support/topic/plugin-db-error/)
 * Hi,
 * I get the following error in my debug log, can you help if something is missing
   and needs to be done to resolve this please?
 *     ```wp-block-code
       WordPress database error Specified key was too long; max key length is 1000 bytes for query CREATE TABLE wp_wrc_relations (					cache_id BIGINT(20) NOT NULL,					object_id VARCHAR(191) NOT NULL,					object_type VARCHAR(191) NOT NULL,					PRIMARY KEY (cache_id, object_id, object_type),					KEY cache_id (cache_id),					KEY object (object_id(100), object_type(100))				) made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Rest_Cache_Plugin\Includes\Caching\Caching->update_database_structure, dbDelta
       ```
   
 * Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Richard Korthuis](https://wordpress.org/support/users/rockfire/)
 * (@rockfire)
 * [4 days, 14 hours ago](https://wordpress.org/support/topic/plugin-db-error/#post-18912280)
 * Hi [@temak](https://wordpress.org/support/users/temak/) 
   Thank you for using 
   our plugin!We just released a new version of our plugin, which should solve your
   issue. Please let me know if it works for you!
 *  Thread Starter [Timi Makinde](https://wordpress.org/support/users/temak/)
 * (@temak)
 * [3 days, 14 hours ago](https://wordpress.org/support/topic/plugin-db-error/#post-18913514)
 * Hi [@rockfire](https://wordpress.org/support/users/rockfire/)
 * That seems to be working fine now, thanks for the quick update! Will keep an 
   eye on it.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-db-error%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-rest-cache/assets/icon-256x256.png?rev=3328849)
 * [WP REST Cache](https://wordpress.org/plugins/wp-rest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rest-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Timi Makinde](https://wordpress.org/support/users/temak/)
 * Last activity: [3 days, 14 hours ago](https://wordpress.org/support/topic/plugin-db-error/#post-18913514)
 * Status: resolved