Sincd WP 4.3 Fatal Error: Out of Memory in wp-db.php
-
There was a update to WP 4.3 and all Plugins are on currrent level.
After the update no administration was possible, i’m receiving directly after login the following error:
Fatal error: Out of memory (allocated 61865984) (tried to allocate 1573063 bytes) in /homepages/xx/xxxxxxxxxx/htdocs/xxx/wp-includes/wp-db.php on line 1092
So it used 59MB und tried to allocate additional 1.5MB which failed. Looking at phpinfo() ist shows me that PHP Limit ist set to 120MB. I’m running on shared space not on a server. I’m using MySQL 5.0.11 and PHP 5.5.26.
The questions is now why WP fails at 59MB when the linit is 120MB.I coded a define(‘WP_MEMORY_LIMIT’, ‘120M’); in wp-config.php to force WP to use all the 120MB available, but that changed nothing.
Trying to set the PHP-Limit in .htaccess (php_value memory_limit 120M) leads to a Code 500 error.
As usual, the Browser Cache was cleared, a new login was made and i tested with several browsers. All unneeded Plugins are disabled (Things like Buddypress, bbPress and Wordfence cannot be disabled without bringing the site to maintenance mode). After deleting the plugin WP-Statistics i could login and do that.
Since that time the problem is intermittend which makes it much more difficult to test. Trying a reinstall of WP-Statistics for testing runs directly into the out of memory error.
Same configuration (including WP-Statistics) has run without any problem on WP 4.2.x
- The topic ‘Sincd WP 4.3 Fatal Error: Out of Memory in wp-db.php’ is closed to new replies.