Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 106482 bytes) in…
I was playing with new WordPress plugin. The plugin does not have any issue. However, I faced above issue when I tried to publish a new post. Hmm… Seem like the default 32M WordPress limit was exceeded with this new plugin. How to fix this “Fatal error: Allowed memory size of 33554432 bytes exhausted” issue?
Simple… Just edit your wp-config.php to include the line below:
define(‘WP_MEMORY_LIMIT’, ’64M’);
This error also happens when I upgrade the WordPress. Similar fix by updating to 64M will do. Remember, after each WordPress upgrade the memory will be reset back to 32M. So you need to update the file manually again after upgrade
WordPress will update wp-config.php file on engine upgrade? I thought the file will not be updated.
Whoops…the one updated by me was wp-settings.php
Maybe next time I will update wp-config.php
The solve I think won’t help you when server administrator limit your PHP memory use which usually happen but it always best to try this solution before knocking the hosting provider’s door. By the way nice theme.
I have faced this problem once andhad deactived some plugins and reactivated them again .. That solved my problem at that time..