Title: WordPress database error
Last modified: June 3, 2020

---

# WordPress database error

 *  [sampsa96](https://wordpress.org/support/users/sampsa96/)
 * (@sampsa96)
 * [6 years ago](https://wordpress.org/support/topic/wordpress-database-error-145/)
 * I keep getting a forced WordPress update that breaks my WordPress site and asks
   me to re-install WordPress!
 * Here is the error:
 * _**[Moderated: Large code excerpt removed per [forum guidelines](https://wordpress.org/support/forum-user-guide/faq/#i-need-to-post-code-is-that-okay).
   Please use [Pastebin](https://http://pastebin.com/) and [Gist](https://gist.github.com//)
   and copy your code there. Then return here and paste the link to that here.] **_
    -  This topic was modified 6 years ago by [t-p](https://wordpress.org/support/users/t-p/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-database-error-145%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years ago](https://wordpress.org/support/topic/wordpress-database-error-145/#post-12935208)
 * Try [manually resetting your plugins](https://wordpress.org/support/article/faq-troubleshooting/#how-to-deactivate-all-plugins-when-not-able-to-access-the-administrative-menus)(
   no Dashboard access required). If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, access your server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), navigate to /wp-content/themes/
   and rename the directory of your currently active theme. This will force the 
   default theme to activate and hopefully rule-out a theme-specific issue (theme
   functions can interfere like plugins).
 *  Thread Starter [sampsa96](https://wordpress.org/support/users/sampsa96/)
 * (@sampsa96)
 * [6 years ago](https://wordpress.org/support/topic/wordpress-database-error-145/#post-12936863)
 * I have made a backup of my WordPress page in my hosting provider, but when I 
   remove the files and add them back the page just won’t work after..
 *  Thread Starter [sampsa96](https://wordpress.org/support/users/sampsa96/)
 * (@sampsa96)
 * [6 years ago](https://wordpress.org/support/topic/wordpress-database-error-145/#post-12936953)
 * Here is the whole error: [https://pastebin.com/JTZT7uWk](https://pastebin.com/JTZT7uWk)
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years ago](https://wordpress.org/support/topic/wordpress-database-error-145/#post-12939838)
 * Did you try the steps posted above?

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

The topic ‘WordPress database error’ is closed to new replies.

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/wordpress-database-error-145/#post-12939838)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
