500 error at wp-admin / allowed memory exhausted / cannot use output buffering
-
This all started with a PHP upgrade from 7.0.9 to 7.2.9
1) It works fine on DEV with 7.29 with the same plugins.
2) Upgrading to 7.29 on LIVE allowed the site to function normally on the front-end, but got 500 internal server error when hitting wp-admin on the back end. Using incognito mode allowed wp-admin render, but then trying to login gave 500 internal server error
3) PHP error log showed these errors
[06-Feb-2019 22:11:35 UTC] PHP Fatal error:? Allowed memory size of 2097152 bytes exhausted (tried to allocate 1069056 bytes) in I:\xxxxxx\wp-content\plugins\w3-total-cache\Cache_Wincache.php on line 42
[06-Feb-2019 22:11:35 UTC] PHP Fatal error:? Allowed memory size of 2097152 bytes exhausted (tried to allocate 65536 bytes) in I:\xxxxxxx\wp-content\plugins\w3-total-cache\Util_Content.php on line 4
[06-Feb-2019 22:11:35 UTC] PHP Fatal error:? Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
4) Confirmed that the max memory size was 512m on both DEV and LIVE servers. I tried increasing LIVE to 1024m and still got the same exact error.Note: The W3TC plugin was updated to Version 0.9.7.2, prior to an update to WordPress 5.0.3 (from 4.9.9) and PHP 7.0.9 to 7.2.9 along with all other plugin updates, and tested to work perfectly on the DEV server. Everything was also updated and tested on the LIVE server, except the PHP 7.2.9 upgrade. It was working fine then too. The only thing that changed in the final step, was 7.0.9 to 7.2.9. The the wp-admin 500 error. I’m completely stumped on this. The web.config files are the same, but other than that, I’m at the mercy of our hosting to know whether everything else is the same.
Ideas on what to try? Thx!
- The topic ‘500 error at wp-admin / allowed memory exhausted / cannot use output buffering’ is closed to new replies.