Forums

Fatal error on upgrade to 2.8.2 (27 posts)

  1. hopeD
    Member
    Posted 4 months ago #

    I receive this error upon attempting to automatically upgrade to 2.8.2:

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

    I've checked my server files, and I'm not seeing any conflict on the aforementioned lines that would cause such a problem.

    Can anyone help me figure this out?

  2. amits
    Member
    Posted 4 months ago #

    I got exactly the same thing. At least we know then that we're not alone! Any ideas anyone?

    Amit

  3. samboll
    moderator
    Posted 4 months ago #

    add this line to your wp-config.php right after opening php statement

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

  4. amits
    Member
    Posted 4 months ago #

    Hey Samboll, Thanks for that...sorry I'm a tiny bit of a noob... where exactly shall i put it?

    For example....my opening statement is:

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', '****************'); // The name of the database
    define('DB_USER', '***********');

    So shall i put it here?

    define('WP_MEMORY_LIMIT', '64M');<?php
    // ** MySQL settings ** //
    define('DB_NAME', '*************'); // The name of the database
    define('DB_USER', '******');

    will that work?

    If i'm wrong can give you show me a sample of where to put it? Thanks so much for your help!

  5. amits
    Member
    Posted 4 months ago #

    Ignore the question, i just read your response again and it seems to have worked perfectly. Thank you Samboll!

  6. MountainStream
    Member
    Posted 4 months ago #

    I can't even get wordpress to automatically upgrade. It keeps on saying Downloading update from http://wordpress.org/wordpress-2.8.2.zip. And, that's as far as it gets and goes no further.

  7. alvink83
    Member
    Posted 4 months ago #

    @samboll

    Thanks for the code. Managed to update to 2.8.2 successfully.

  8. kpdesign
    Member
    Posted 4 months ago #

    Sam's method will work, but there's another possible solution for this as well.

    Try deactivating all of your plugins before you auto-upgrade. It could be a plugin that is triggering that fatal error (I've had this happen). If the auto-upgrade is then successful, you know what caused it and can re-activate your plugins pretty quickly.

    Just a thought...

  9. samboll
    moderator
    Posted 4 months ago #

    Fatal error: Allowed memory size

    pretty much shows this is a php out of memory error
    deactivating plugins will work as that will free memory - until you reactivate them

  10. kpdesign
    Member
    Posted 4 months ago #

    I've only run into this error since 2.8 was released - never got it with 2.7.

    Deactivating the plugins worked in the few cases where I got the out of memory error when doing the auto-upgrade.

  11. AndrewRH
    Member
    Posted 4 months ago #

    Adding "define('WP_MEMORY_LIMIT', '64M');" to wp-config.php didn't solve the problem for me.

    I asked my host provider, 1&1, about the error message when I tried an auto-upgrade to 2.8.2 [Fatal error: Out of memory (allocated 32243712) (tried to allocate 2355395 bytes) in .../wp-includes/http.php on line
    1331].

    Here's what they said:

    We have checked your package and there is a need for you to upgrade your
    package from Home to business because your CGI limit exceeded that is
    why it keeps on displaying fatal error.

    So, my family blog running Wordpress needs to be hosted on a business account (at extra cost)!

    ~Andrew~

  12. AndrewRH
    Member
    Posted 4 months ago #

    ...but disabling all plug-ins then doing the upgrade did work! whew, back to being a person not a business (no matter what 1&1 say!)

    ~Andrew~

  13. MountainStream
    Member
    Posted 4 months ago #

    Could the plug-ins be the issue with the fact I can't get Wordpress to automatically upgrade? I have noticed since 2.8 has come out that in order to upgrade some of the plug-ins you have to deactivate them to get them to upgrade.

  14. hopeD
    Member
    Posted 4 months ago #

    Thank you all SO much for the responses!

    I deactivated all of my plugins, attempted the upgrade, and voila! Superb advice, and something I would have never considered on my own.

    Thanks again, everyone!

  15. hopeD
    Member
    Posted 4 months ago #

    P.S. I'll leave this open for a bit, since other folks seem to have questions about it... :)

  16. sauerswald
    Member
    Posted 4 months ago #

    I upgraded automatically last night and got the white screen of death. The advice I've been given is to do it over manually, but I can't find the download of just the upgrade. Is that somewhere on site I just can't see? Can someone pass along that link? Thanks!

  17. figaro
    Member
    Posted 4 months ago #

    Try to deactivate your plugins first and see if that gets you in. If not, then upgrade manually by replacing the 2.8.2 codebase on your site with that from the download area here...just don't overwrite your wp-content directory.

  18. sauerswald
    Member
    Posted 4 months ago #

    I wish I understood what you just said -- but I don't. In the meantime, I can't even see a dashboard to deactivate plug-ins nor can I find the upgrade by itself to upgrade manually. Do you know where it is?

  19. figaro
    Member
    Posted 4 months ago #

    First, see if you can deactivate your plugins following this video and see if that gets you back into your blog:

    http://educhalk.org/blog/?p=38

  20. MountainStream
    Member
    Posted 4 months ago #

    it was definitely one of the plug-ins that was causing the automatic update not to work.

  21. sauerswald
    Member
    Posted 4 months ago #

    Wow -- that tutorial was great -- thanks for that link! Except now only my blog page is up, I still can't get to my dashboard. Any thoughts?

  22. mossyoak
    Member
    Posted 4 months ago #

    I found it happened with the wp-Typography plugin activated on one blog and the Event Calendar activated on another.

  23. Erik Manning
    Member
    Posted 4 months ago #

    I also get the exact same thing. I took away some of my plug ins that i wasn't using, thinking that would help give me more memory.

  24. ZGani
    Member
    Posted 4 months ago #

    Always take the rout in the upgrading guide.

    1) Backup your core files and dbase
    2) Deactivate all plugins (as they may conflict with the upgrade)
    3) Upgrade - all should go smoothly

    Back to the nity grity of reactivating the plugins one by one once you have made sure the upgrade went to plan and blog is intact.

  25. wpof
    Member
    Posted 4 months ago #

    It was the "Platinium-SEO" plugin that causing the problem in my case.

    It was the ONLY plugin that I have deactivated before doing the successful WP upgrade.

    Good Luck.

  26. hopeD
    Member
    Posted 4 months ago #

    See, apparently I'm super-lazy because I just did a "select all" of my active plugins and bulk-activated them...hehe.

    Still worked great, though!

  27. EvilMammoth
    Member
    Posted 4 months ago #

    samboll's fix worked for me. Thanks much for the suggestion.

Reply

You must log in to post.

About this Topic