Plugin deleted during update
-
I’ve had repeated issues updating WooCommerce on 3 sites for the last few weeks (WooCommerce 4.4.1, 4.5.1, and maybe others). Updating via WP Admin fails, and the plugin gets deleted. The Updates screen shows:
Warning: fopen(/www/wp-content/plugins/woocommerce/woocommerce.php): failed to open stream: No such file or directory in /wordpress/wp-includes/functions.php on line 6023 Warning: fread() expects parameter 1 to be resource, boolean given in /wordpress/wp-includes/functions.php on line 6026 Warning: fclose() expects parameter 1 to be resource, boolean given in /wordpress/wp-includes/functions.php on line 6029
The plugin screen shows:
The plugin woocommerce/woocommerce.php has been deactivated due to an error: Plugin file does not exist.
The plugin can’t be reinstalled via WP Admin. I can delete via SFTP then upload the latest version via SFTP. However, when I later try to update to a newer version (e.g., 4.4.1 to 4.5.1) in WP Admin, the problem recurs.
- The topic ‘Plugin deleted during update’ is closed to new replies.