Title: Automatic update core
Last modified: September 9, 2023

---

# Automatic update core

 *  [rgdebree](https://wordpress.org/support/users/rgdebree/)
 * (@rgdebree)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/automatic-update-core/)
 * When I apply the code in config.php to disable automatic WordPress core update
   I get some Warning in my backend of WordPress  site information and Wordfence
   dashboard and I also have database connection Problems. So how about and what
   can I do about it ?
 * Kind regards Ruud de Bree
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fautomatic-update-core%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/automatic-update-core/#post-17037419)
 * What specific code?
 * Where exactly are you adding it in the `wp-config.php` file?
 * Also, what “Warning” are you seeing in the backend of your WordPress site and
   in your Wordfence dashboard?
 * And if you have a database connection problem, how are you able to get to your
   WordPress dashboard at all?
 * Standing by.
 *  Thread Starter [rgdebree](https://wordpress.org/support/users/rgdebree/)
 * (@rgdebree)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/automatic-update-core/#post-17037427)
 * define( ‘WP_AUTO_UPDATE_CORE’, true )
 * I added it at the end. Then I get the Message: “fout bij het maken aan de database
   connote” and only a white screen. (error by making database connection) At that
   moment I can not get to the backend anymore
    -  This reply was modified 2 years, 8 months ago by [rgdebree](https://wordpress.org/support/users/rgdebree/).
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/automatic-update-core/#post-17037434)
 * To **disable** ALL core updates, you should **copy and paste** (don’t type!) 
   the following code to your `wp-config.php` file.
 * `define( 'WP_AUTO_UPDATE_CORE', false );`
 * This should be on its own line, right ABOVE the point where it says:
 * `/* That's all, stop editing! Happy publishing. */`
 * If done correctly, this should not cause a database connection problem or any
   of the other issues you mentioned.
 *  Thread Starter [rgdebree](https://wordpress.org/support/users/rgdebree/)
 * (@rgdebree)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/automatic-update-core/#post-17037442)
 * I did indeed already so. But then I get some critical Warnings in site diagnose
   and in the Wordfence scan results. That is why I removed the code.

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

The topic ‘Automatic update core’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [rgdebree](https://wordpress.org/support/users/rgdebree/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/automatic-update-core/#post-17037442)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
