I’m attempting to update plugins on many child sites using the Dashboard.
This used to work fine, but now the process fails and all child sites become stuck in Maintenance Mode.
Is this a known issue with the latest versions of the Dashboard and MainWP Child plugins? It seemed to start happening after the move to PHP v8.0
After the plugin updates fail, the child sites return 503 (Service Unavailable) to the Dashboard, when previously they were running fine.
There’s nothing reported in the server logs on either the Dashboard or the child sites. Also, no new plugins have been installed on the Dashboard (e.g. security plugins).
Does this happen on all your sites or just ones that are on PHP 8 servers?
Can you please enable Debug logging on one site and try to duplicate the issue and see if any error will be recorded.
could it be that some other plugin/theme is not PHP 8 ready on your child sites. What happens if you deactivate all plugins except for the MainWP Child on one site and try to run updates?
I spend several hours debugging this and it appears to be related to WPEngine.
The way that WordPress downloads and unzips plugins has changed slightly with PHP 8. Now, it seems to be incompatible with WPEngine’s platform settings and causes the update process to crash.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.