Category Archives: Lessons Learned

FATAL ERROR MEMORY ISSUES WordPress

Ok So I needed to install a new version of wordpress (v2.9) for my site because I wanted to make sure that I my plugin would work right with new wordpress. So I auto install from my host (BTW wicked COOL, couldn’t do that before on my previous site), it does its thing and then says done. I go to check my set to see the new stuff and get this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /home4/thomasno/public_html/wp-includes/default-widgets.php on line 613

I had no idea what to do and then I thought maybe a couple of searches through WordPress and Google and maybe I could get somewhere.

I then found this little GEM that fixed everything:

1
ini_set('memory_limit','64M');

You put this in your wp_config.php file at the top right above:


GD Star Rating
loading...
GD Star Rating
loading...