I had been dreading creating a workable web site for more than a year, and then, thanks to a referral, I found Ken. He took my concept, improved it with my blessing and made it a reality. I love the layout and site design, but I also love the ease of administration. When Ken finished the site, he explained the “inner” workings to me in terms that I could understand, with no web guru jargon, providing simple instructions so that I can maintain my site. I am 100% satisfied and will definitely be on his repeat customer list. I encourage you to talk with Ken if you want a current, attractive website that matches your business model and that is easy to administer. Rebecca Bond

Fix WordPress memory error when upgrading

With the issuing of WordPress 2.8.3 and 2.8.4 a lot of people have run into a WordPress memory error when upgrading–the dreaded “Allowed memory size error” when you try to run the automatic upgrade for your WordPress. (you did backup everything, just in case, yes?)

Did you get a WordPress memory error something like “Allowed memory size of 33554432 bytes exhausted (tried to allocate …yadda yadda)”?  This is likely caused by “too much stuff” in your WordPress, like lots of WordPress plugins.

There are a few things to do to try to get past this.

1.) Deactivate most or all of your plugins and then try the automatic upgrade again. That should help most people.

If you are more technically inclined or have someone who can do this for you (like me! 😉)…

2.) In your WordPress root find the “wp-settings.php” file and find this line (around line 13)  “define(’WP_MEMORY_LIMIT’, ‘32M’);”  and increase the memory size to something larger, like  “define(’WP_MEMORY_LIMIT’, ‘64M’);” . Now try upgrading again.

And if that doesn’t fix it so that you can upgrade… Try this!

3.) Find the “php.ini” for your site (this is not a WordPress file, but one from your webhost – you may need to ask them how to make the change, if it’s not readily available to you) and change it to something larger like this  “memory_limit = 128M.”

You should now be able to successfully upgrade your WordPress!

If you are still having problems fixing your WordPress memory error when upgrading, please contact me at ken@the-web-mechanic.com.  I also offer free WordPress support on “WordPress Wednesdays.”

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>