{"id":283,"date":"2018-04-03T01:36:00","date_gmt":"2018-04-03T00:36:00","guid":{"rendered":"http:\/\/bemused.org\/blog\/?p=283"},"modified":"2026-12-01T14:31:24","modified_gmt":"2026-12-01T13:31:24","slug":"fixing-table-wp_my_blog_name_wfnet404s-doesnt-exist-in-engine-wordfence-error","status":"publish","type":"post","link":"https:\/\/bemused.org\/blog\/2018\/04\/03\/fixing-table-wp_my_blog_name_wfnet404s-doesnt-exist-in-engine-wordfence-error\/","title":{"rendered":"Fixing &#8220;Table &#8216;wp_my_blog_name_wfNet404s&#8217; doesn&#8217;t exist in engine&#8221; wordfence error"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I&#8217;ve been using the excellent <a href=\"https:\/\/www.wordfence.com\/\">wordpress security plugin, WordFence<\/a> for a long time and have been generally very happy with it. The only issue I have had is the above error, which has occurred following a disk filling up and the database crashing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;m documenting this here as it&#8217;s not the first time I&#8217;ve had to fix this problem and a web search for a solution gives suggestions to uninstall and reinstall wordfence, after selecting &#8220;delete all wordfence tables&#8221;. If you don&#8217;t want to delete all your wordfence data, and start with a clean install, the following solution may work for you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Rather than getting wordfence to recreate the database tables, you can do it yourself, manually, as follows:<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">first check if the table exists and is accessible :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[MariaDB] desc wp_my_blog_name_wfNet404s;\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you get the following error message :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ERROR 1932 (42S02): Table 'resto.wp_sortirauresto_com_blog_wfNet404s' doesn't exist in engine\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">then drop the table, before recreating it :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">MariaDB [resto]&gt; drop table resto.wp_my_blog_name_wfNet404s;\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To recreate the table, check the table schema in the following file : wp-content\/plugins\/wordfence\/lib\/wfSchema.php, searching for the string wfNet404s. I see the following, but it&#8217;s possible that this may change in future versions of wordfence.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">  `sig` binary(16) NOT NULL,\n  `ctime` int(10) unsigned NOT NULL,\n  `URI` varchar(1000) NOT NULL,\n  PRIMARY KEY (`sig`),\n  KEY `k1` (`ctime`)\n) DEFAULT CHARSET=utf8\"\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Use this to create the sql syntax to create the table :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">create table IF NOT EXISTS wp_eat_out_net_blog_wfNet404s (\n  `sig` binary(16) NOT NULL,\n  `ctime` int(10) unsigned NOT NULL,\n  `URI` varchar(1000) NOT NULL,\n  PRIMARY KEY (`sig`),\n  KEY `k1` (`ctime`)\n) DEFAULT CHARSET=utf8;\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You may need to do this with other tables (wfBadLeechers, &#8230;) with their own schema from the same file. Once the tables have been recreated, your next backup should take place without error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using the excellent wordpress security plugin, WordFence for a long time and have been generally very happy with it. The only issue I have had is the above error, which has occurred following a disk filling up and the database crashing. I&#8217;m documenting this here as it&#8217;s not the first time I&#8217;ve had [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-283","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/bemused.org\/blog\/wp-json\/wp\/v2\/posts\/283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bemused.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bemused.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bemused.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bemused.org\/blog\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":5,"href":"https:\/\/bemused.org\/blog\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"predecessor-version":[{"id":358,"href":"https:\/\/bemused.org\/blog\/wp-json\/wp\/v2\/posts\/283\/revisions\/358"}],"wp:attachment":[{"href":"https:\/\/bemused.org\/blog\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bemused.org\/blog\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bemused.org\/blog\/wp-json\/wp\/v2\/tags?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}