TABLE KEY ERRORS – How to manually update WordPress row?
-
I search your FAQ and every post on this forum and could find how to manually update a wordpress table row. How can I do that?
I have created a default wordpress installtion using your plugin, but when I try to install this setup using duplicator on local mamp I get the following:
“TABLE KEY ERRORS (2)
A primary key is required on a table to efficiently run the update engine. Below is a list of tables and the rows that will need to be manually updated. Use the query below to find the data.
SELECT @row := @row + 1 as row, t.* FROM some_table t, (SELECT @row := 0) r
Row [719] on Table [Default_Setup_wp_wfStatus] requires a manual update.
Row [928] on Table [Default_Setup_wp_wfStatus] requires a manual update.”I tried using “SELECT @row := @row + 1 as row, t.* FROM some_table t, (SELECT @row := 0) r” in the search query box, but… to no avail…
I’m not familiar database tables that much. I searched online and can’t find a straight tutorial on how to do this. I do know that the Table ending in “wfStatus” is related to the Wordfence Security plugin. So, I deactivated it and made another package, then tried to install my setup locally again. But I get the same update errors. I get 500 errors on my admin when I have this Table Key Error.
Please help guru. Any relevant tutorial should suffice.
- The topic ‘TABLE KEY ERRORS – How to manually update WordPress row?’ is closed to new replies.