Fix for WordPress Upgrade Fatal Error on 1and1 hosting.

by MB on March 20, 2012

Wordpress 1and1 fatal error out of memeory

Note: This post is a bit meta, and not related to personal finance, but I believe it is important information that many people will find helpful.

This blog runs on WordPress and is hosted on 1and1.com. I have been generally happy with their service, but each time I have to upgrade WordPress, I receive an annoying error:

Fatal error: Out of memory (allocated 26476544) (tried to allocate 4247825 bytes)

I did a lot of searching on this problem, and found multiple suggestions including modifying my .htaccess file, or adding a line to my php.ini file, but none of these worked for me.

After manually upgrading several times, I was determined to figure this out. Here is what worked for me:

  1. Disable all of your plugins upgrade. (This can be done via a bulk action.)
  2. Run the WordPress automatic upgrade.
  3. Re-activate your plugins.

It’s really that simple. I’m not sure why deactivating plugins is the key. I assume this frees up necessary memory.

Good luck, and I hope this works for you.

Leave a Comment

Previous post:

Next post: