WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] When Updating Core, Fatal error: Out of memory in includes/class-http.php (6 posts)

  1. mochabcha
    Member
    Posted 2 years ago #

    I've been unable to update my version of wordpress past the current version because of some fatal error

    Fatal error: Out of memory (allocated 28049408) (tried to allocate 3981793 bytes) in /homepages/20/d364853547/htdocs/wp-includes/class-http.php on line 1420

    I checked that file and line 1420 and surrounding lines is this. Line 1420 is the first line here
    [Code moderated as per the Forum Rules. Please use the pastebin]

    I'm trying to upgrade to version 3.2.1, can anyone please advise?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Try increasing the memory available to PHP:
    http://wordpress.org/support/topic/253495#post-1017842

  3. mochabcha
    Member
    Posted 2 years ago #

    I don't have access to my php.ini file, I added

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

    to the end of my wp-config.php file, set the options in my 1and1.com backend to use php5. Adding the code to my .htaccess file in the / directory just threw a Server error on the site.

    Still no automatic updating.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

  5. mochabcha
    Member
    Posted 2 years ago #

    ugh... 1 and 1 internet support is so horrible. I'm trying to switch to liquidweb but I'm stuck with these peoples. I'll call em. Thank you

  6. mochabcha
    Member
    Posted 2 years ago #

    I figured it out.

    Disabled all my plugins. Went through like a dream (a good one).

    THANK YOU.

Topic Closed

This topic has been closed to new replies.

About this Topic