I had a WordPress installation that mysteriously stopped updating one day. I would click the “Check for updates” button and it would say that my installation and all plugins were up to date, when they clearly weren’t. The process didn’t display any error messages and my logs offered no clues.
After a few weeks of trying to figure out what was going on, while performing all updates manually in the meantime, I accidentally came across the solution.
I had installed an unrelated piece of software on my local machine and was unable to connect to the remote network. When I contacted our IT department they informed me that everything now has to go through a local proxy server or it wouldn’t work. As soon as I heard this I immediately attempted the same in my wp-config.php file, and updates immediately started working again.
Here’s the code I used in the wp-config.php file:
Hopefully this can save someone else some time and frustration!