If you are trying to upgrade to Wordpress 2.8.2 recently you may encounter the error below, which doesn’t indicate much except that it relates to some insufficient memory error.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2355395 bytes) in /public_html/wp-includes/http.php on line xx

If you searched around Google you may find remedial steps which includes either upgrading manually (downloading the .zip installation file and uploading via ftp) or by disabling all of the current used Wordpress plugin and then perform the upgrading. I was not keen on performing the upgrade via those two methods, so I did a search around and found the following steps which were much simpler and most importantly, works like a charm.

Here’s how to do the trick:

1. Connect and edit your Wordpress site’s wp-config.php file (you can use FTP program to connect to your Wordpress site, and go to the root installation folder, i.e. /public_html folder).

2. Add the following line below right after the opening php lines or comments:

define('WP_MEMORY_LIMIT', '64M');

In example:

Wordpress 2.8.2 Fatal Error

3. Save the wp-config.php and try upgrading again. The Wordpress upgrade should work this time.

Updates: Wordpress has updated to version 2.8.3, which is basically a security release that fixes some bug. So far the error did not happen to this version, so it is advisable to upgrade as soon as possible.

No TweetBacks yet. (Be the first to Tweet this post)

Related posts:

  1. Wordpress Plugin: WPTouch optimizes your website for iPhone
  2. Wordpress Plugins: Alternative Administration Menu