32 pointsStarting to get into this DEV thingI'm new here
monetise
Member
—
2nd February 2011 15:36
When I activate the Avatars plugin (v3.5.4) on my WP 3.0.4 multisite I get the following error:
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 311296 bytes) in /usr/www/users/xxxxx/wp-admin/menu.php on line 235
I have installed other wpmudev plugins and this is the first error I am getting. I had to delete the avatars folder in order to access "plugins" again in the admin section.
When I activate the Avatars plugin (v3.5.4) on my WP 3.0.4 multisite I get the following error:
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 311296 bytes) in /usr/www/users/xxxxx/wp-admin/menu.php on line 235
I have installed other wpmudev plugins and this is the first error I am getting. I had to delete the avatars folder in order to access "plugins" again in the admin section.
That's strange - I doubt the plugin should be trying to use 20MB worth of space.
However, have you checked to see how much disk space you have left on your hosting? It may be that you're running low and there aren't enough resources.
Are you able to install any other plugins or is it just this one that causes the error? (I'm thinking of new plugins rather than already installed ones...)
Now I am getting the same error when I activate the "Global site tags" but this is what happened.
I first installed the Global site tag plugin. I then added some tags to some posts, but the tags didn't show. I then saw in the installation instructions that you need to install the "Post Indexer" plugin first.
So I didn't uninstall anything. I installed the Post Indexer plugin and then got the same error as above.
So I uninstalled the global site tags and post indexer plugin.
I then proceeded to install and activate the "post indexer", and then the "global site tags". Then I got the error again. Its the saem error message so the problem must be common to both.
It looks like php memory is limited to 20MB on your hosting company. WordPress Multisite needs at least 64MB to work (256MB in the admin if you upload large images).
You will have to increase the php memory limit (if your host supports it). Try the ways described here: http://www.dailyblogging.org/wordpress/increase-wordpress-memory-limit/ and if it still doesn't work, contact the hosting company to see if they can increase it for you.
already changed it to 64MB before reading this post.
I added this line to my .htaccess file.
php_value memory_limit 64M
Everything seems to be working now. I started getting suspicious when my backend suddenly gave me the error after not activating anything. Changing the memory limit was the last thing I tried. What a waste of a day!
Responses (5)
Sales & Support Pro — 2nd February 2011 16:13 #
Hi monetise!
That's strange - I doubt the plugin should be trying to use 20MB worth of space.
However, have you checked to see how much disk space you have left on your hosting? It may be that you're running low and there aren't enough resources.
Are you able to install any other plugins or is it just this one that causes the error? (I'm thinking of new plugins rather than already installed ones...)
Let me know and we'll see where we get!
Phil
Member — 3rd February 2011 09:02 #
diskspace not an issue. (space unlimited)
Just installed "Global Site Tags" plugin/widget with no problems.
Still get same error when I try to install Avatars plugin afterwards.
Member — 3rd February 2011 12:32 #
Now I am getting the same error when I activate the "Global site tags" but this is what happened.
I first installed the Global site tag plugin. I then added some tags to some posts, but the tags didn't show. I then saw in the installation instructions that you need to install the "Post Indexer" plugin first.
So I didn't uninstall anything. I installed the Post Indexer plugin and then got the same error as above.
So I uninstalled the global site tags and post indexer plugin.
I then proceeded to install and activate the "post indexer", and then the "global site tags". Then I got the error again. Its the saem error message so the problem must be common to both.
Developer — 3rd February 2011 13:27 #
It looks like php memory is limited to 20MB on your hosting company. WordPress Multisite needs at least 64MB to work (256MB in the admin if you upload large images).
You will have to increase the php memory limit (if your host supports it). Try the ways described here: http://www.dailyblogging.org/wordpress/increase-wordpress-memory-limit/ and if it still doesn't work, contact the hosting company to see if they can increase it for you.
Member — 3rd February 2011 14:42 #
already changed it to 64MB before reading this post.
I added this line to my .htaccess file.
php_value memory_limit 64M
Everything seems to be working now. I started getting suspicious when my backend suddenly gave me the error after not activating anything. Changing the memory limit was the last thing I tried. What a waste of a day!
SOLVED!
Become a member