I am getting this error when logging into the backend of my Wordpress MU installation:
Fatal error: Allowed memory size of 268435456 bytes exhausted
I am also getting blank admin dashboard with I love into:
http://oversimplification.mvmt.com/wp-admin/
I submitted a request to my hosting provider PSEK and got this response.
It didn't work. The problem still is there.
----
Hi Rolando,
we've added following line to your public .htaccess file:
php_value memory_limit 512M
This should fix the issue, please try accessing the site now.
Please note that exceeding allowed memory size could indicate a memory leak or some other issue that require an experienced web-developer to have a look.
Scripts which hit PHP memory limit could overload the server - in this case we will disable the script or whole account.
Please let us know if you have any further questions or concerns.
-----
This has however not fixed my problem.
Can any of you help?
Username & Password to see error:
http://oversimplification.mvmt.com/wp-admin/
un: psek
pw: helpdesk
Maor Barazany answers:
It might be one of your plugins causing this, or your tempalte.
Try to remove plugins from the wp-plugins folder (this will auto-deactivate them, if you don't have access to admin panel)
Then check one by one who causes this.
Luis Abarca answers:
I log in and looks ok, maybe the changes takes some time or you need to refresh your browser cache
Julio Potier answers:
Hello
The "php_value memory_limit 512M" do not fixed the problem BUT it bypass it ... (refresh your browser) but i suggest your to remove this line, get the error again and find the real problem.
See you !
Chris Bunting answers:
Wordpress assigns the php_memory limit internally. You can try setting a higher limit to see if that helps. MU and resources intensive plugins are what usually cause this.
Open the file /wp-includes/default-constants.php at the top you'll see,
function wp_initial_constants( ) {
global $blog_id;
// set memory limits
if ( !defined('WP_MEMORY_LIMIT') ) {
if( is_multisite() ) {
define('WP_MEMORY_LIMIT', '64M');
} else {
define('WP_MEMORY_LIMIT', '32M');
}
}
if ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) ) {
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
}
Change the line below, 64M to 128M or 256M
if( is_multisite() ) {
define('WP_MEMORY_LIMIT', '64M');
And see if that fixes the problem.
Chris
Patrick Leisegang answers:
define('WP_MEMORY_LIMIT', '512M');
add that line into your wp-config.php file. it shoud make it work...
i DO NOT recommend altering core files. this will break on next update you make!