WordPress Core Upgrades keep trying despite having disabled configuration

[ad_1]

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]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer