WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Upgrade: Call to undefined function: get_post_status() (3 posts)

  1. StoneLion2
    Member
    Posted 8 years ago #

    I just upgraded to 2.0. My main page displays properly, but if I try to click to an individual entry, I get the following message (where {myblog} is the directory WordPress lives in):
    Fatal error: Call to undefined function: get_post_status() in {myblog}/wp-includes/classes.php on line 643

    Any ideas? Anyone?

  2. Kafkaesqui

    Posted 8 years ago #

    get_post_status() is a function which resides in the 2.0 version of functions-post.php (wp-includes/ directory). I'd check to make sure that file got updated during your upgrade (or isn't corrupted or 0 bytes).

  3. StoneLion2
    Member
    Posted 8 years ago #

    Man, you're good! That appears to have been it. Why that one file got messed up is beyond me. Hope I don't have more esoteric surprises to come. Thanks very much.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags