Do you suspect that your WordPress database has become damaged? We are sorry to hear that.
It’s likely that this is due to a broken connection to the database during a write process as a result of a crash or a reboot. We’ve seen this happen in DDOS attacks when the server becomes overwhelmed and the the database engine is forced to reboot. Plugins that do logging are typically the culprit as they are constantly writing to the WordPress database. This repair simple to try, and could completely remedy the problem. Please be sure to take a backup first!
First add the following line to your wp-config file just above “/* That’s all, stop editing! Happy blogging. */”
define (‘WP_ALLOW_REPAIR’, ‘true’);
Save the file and visit the repair page at:
Hopefully, this will fix the problem!