Memory exhausted while trying to delete site on multisite
-
I am getting an error on a multisite environment that I have not had issues with on another multisite on the same server. When I try to delete a sub-site on the multisite, I get the usual confirmation screen, then I click confirm only to get a white screen (when memory allocated was 128M) or a time out 500 error screen on higher memory allocations.
I have increased the the allocated memory available up to 1024MB, and the delete blog procedure is still timing out. There were only 10 subsites on this multisite site at the highest count.
I have deactivated all the plugins as well and still getting the error.
Using WordPress 5.8.1, Server architecture Linux 3.10.0 x86_64, Web server Apache, PHP version 7.4.23, mysqli 5.5.68-MariaDB
The server has 2GB available for allocation.I have done a search to see if anyone else has this issue and I only find reference to delete_blog WP function is deprecated since 5.0.1. If this is the case, it should not be happening in 5.8.1.
Currently not seeing any configuration details between the two multisites on the same server but it is possible I am missing something.
My next step is to upgrade to PHP 8, but then why would the other multisite on the same server running the PHP7 not have the same issue?
Any thoughts on the matter appreciated.
This is the Error message I am getting:
AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 2097160 bytes) in /var/www/vhosts/xxxxxxxxxxx.com/httpsdocs/wp-includes/functions.php on line 6774PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 114688 bytes) in /var/www/vhosts/xxxxxxxxxxxx.com/httpsdocs/wp-includes/functions.php on line 6807', referer: https://xxxxxxxxxxxx.site/wp-admin/network/sites.php?action=confirm&action2=deleteblog&id=34&_wpnonce=90189673ab
- The topic ‘Memory exhausted while trying to delete site on multisite’ is closed to new replies.