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.
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.
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.
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.