We have been experiencing an issue where a number of plugins have not been updating when triggered via Automate or by using Update All via the Hub.
In some cases, the plugin doesn’t re-activate (in the case of GeoDirectory) and other times the plugin doesn’t update at all. It seemed intermittent and we originally suspected an issue with our server. So we did the following:
We setup two identical websites with the same older plugins that requires updates. These were on two different servers through two different providers and experienced the same thing. We enabled debug logs and saw this:
[30-Mar-2019 16:09:00 UTC] PHP Warning:
fopen(/home/++++++++/public_html/wp-content/plugins/wp-easy-updates/external-updates.php): failed to open stream: No such file or directory in /home/+++++++/public_html/wp-includes/functions.php on line 5462
[30-Mar-2019 16:09:00 UTC] PHP Warning:
fread() expects parameter 1 to be resource, boolean given in /home/++++++++/public_html/wp-includes/functions.php on line 5465
[30-Mar-2019 16:09:00 UTC] PHP Warning:
fclose() expects parameter 1 to be resource, boolean given in /home/++++++++++/public_html/wp-includes/functions.php on line 5468