I’ve been banging my head against a brick wall over a website which keeps going down for 10 minutes to attempt an auto upgrade. I get this message in the admin area afterwards and keep removing the .maintenance file.
`An automated WordPress update has failed to complete – please attempt the update again now.`
I’ve tried the following but I’m still getting the issue:
Added these lines to the wp-config.php file:
`// Disable Core Updates.`
`define( ‘WP_AUTO_UPDATE_CORE’, false );`
`// Disable All Updates.`
`define( ‘AUTOMATIC_UPDATER_DISABLED’, true );`
And added the following to the functions file on the theme:
`/**`
`* Attempt to disable all automatic updates.`
`*/`
`add_filter( ‘auto_update_core’, ‘__return_false’ );`
`add_filter( ‘auto_update_plugin’, ‘__return_false’ );`
`add_filter( ‘auto_update_theme’, ‘__return_false’ );`
I’ve also checked through to make sure that all plugins disable auto upgrades. But for some reason this issue keeps happening.
In terms of plugins installed the only 2 I can think of which could be doing this are:
\- iThemes Security Pro
\- WordFence
But both options don’t appear to have auto upgrade configuration enabled on them. I’ve also not seen this issue on other similar websites with the above plugins installed.
Has anyone else had similar issues to this and came up with a solution?
Thanks
[ad_2]