WordPress.org

Forums

[resolved] 2.7 beta - Fatal error (3 posts)

  1. estjohn
    Member
    Posted 6 years ago #

    I have 2.7-beta2-9571 installed. Everything is fine at first, but if I leave it alone and come back in a couple of hours, I get this message
    (In 5 different sites with the same version it is the same thing)

    Fatal error: Call to a member function request() on a non-object in /public_html/wp-includes/http.php on line 258

    I can fix it by using a http.php from the 2.7 beta1 to replace the one in the 2.7-beta2-9571 and it does not happen.

    But, I am not sure what the problem really is, I can only patch it.

  2. MichaelH
    Member
    Posted 6 years ago #

    Quoting DD32 here:

    Eugh, There's going to be a lot of this today..

    It was a bug in the HTTP API code, Unfortunately it seems that the nightly
    version got built after the bug was introduced, but before the fix was
    applied.

    Unfortunately it may render your blog inaccessable as well if you logout,
    and Cron needs to fire when you log in..
    You can copy the latest /wp-includes/http.php file over the top of the
    current one to fix it:
    http://trac.wordpress.org/browser/trunk/wp-includes/http.php?format=txt

  3. estjohn
    Member
    Posted 6 years ago #

    Thank you much! I looked around last night and some this morning, but did not see this post. Thanks for putting up with my redundancy! Glad to know I was doing the fix right ;)

Topic Closed

This topic has been closed to new replies.

About this Topic