{"id":18911045,"date":"2026-05-18T11:54:19","date_gmt":"2026-05-18T11:54:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-db-error\/"},"modified":"2026-05-18T11:54:19","modified_gmt":"2026-05-18T11:54:19","slug":"plugin-db-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-db-error\/","title":{"rendered":"Plugin DB error"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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?<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>WordPress database error Specified key was too long; max key length is 1000 bytes for query CREATE TABLE <code>wp_wrc_relations<\/code> (<br \/>\t\t\t\t\t<code>cache_id<\/code> BIGINT(20) NOT NULL,<br \/>\t\t\t\t\t<code>object_id<\/code> VARCHAR(191) NOT NULL,<br \/>\t\t\t\t\t<code>object_type<\/code> VARCHAR(191) NOT NULL,<br \/>\t\t\t\t\tPRIMARY KEY (<code>cache_id<\/code>, <code>object_id<\/code>, <code>object_type<\/code>),<br \/>\t\t\t\t\tKEY <code>cache_id<\/code> (<code>cache_id<\/code>),<br \/>\t\t\t\t\tKEY <code>object<\/code> (<code>object_id<\/code>(100), <code>object_type<\/code>(100))<br \/>\t\t\t\t) made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, WP_Rest_Cache_Plugin\\Includes\\Caching\\Caching-&gt;update_database_structure, dbDelta<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you<\/p>\n","protected":false},"template":"","class_list":["post-18911045","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18911045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18911045\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18911045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}