After updating WP to 3.4 this plugin started to produce 500 errors when activating themes on sites.
We were able to replicate the error across different server environments, but not all. The trigger seems to be the amount of sites / themes active.
Our setup: WP Multi Site, 400+ subdirectory sites using 50+ themes.
Bug occurred on both big and small dedicated servers.
Bug did NOT occur on test server with 20+ sites.
The error leaves this comment: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 79 bytes) in /www/wp-includes/wp-db.php on line 1449, referer: XXXXXXXX/wp-admin/themes.php?s=qual&_ajax_fetch_list_nonce=24b2fce649&_wp_http_referer=%XXXXXXXXXX%2Fwp-admin%2Fthemes.php%3Fs%3Dqu%26_ajax_fetch_list_nonce%3D24b2fce649%26_wp_http_referer%3D%252FXXXXXXXX%252Fwp-admin%252Fthemes.php
Obviously it is a memory error but it does not seem right that this script uses 256 MB of RAM for one single operation...
(I have X’ed out some information in the string above).
PHP Version 5.3.2