Title: Database errors &#8211; stuck in a loop
Last modified: April 21, 2024

---

# Database errors – stuck in a loop

 *  [BobHatcher](https://wordpress.org/support/users/bobhatcher/)
 * (@bobhatcher)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/database-errors-stuck-in-a-loop/)
 * I’m getting database errors and the message to insert define(‘WP_ALLOW_REPAIR’,
   true); into my config file. I’ve done that and it says all is fine but I still
   can’t get the site to load. It’s telling me I have database errors.
 * Any thoughts?

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

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/database-errors-stuck-in-a-loop/#post-17703286)
 * Your best course of action is to RESTORE a pristine backup of your site taken
   before the issue occurred.
 *  Thread Starter [BobHatcher](https://wordpress.org/support/users/bobhatcher/)
 * (@bobhatcher)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/database-errors-stuck-in-a-loop/#post-17705569)
 * Thanks, I was able to do that

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

The topic ‘Database errors – stuck in a loop’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [BobHatcher](https://wordpress.org/support/users/bobhatcher/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/database-errors-stuck-in-a-loop/#post-17705569)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
