WordPress.org

Ready to get started?Download WordPress

Forums

problem in post.php, can't get_post() (4 posts)

  1. konzept
    Member
    Posted 9 years ago #

    I have no problem writing posts, they go up onto the blog fine. However, when I try to go back in to edit the post from the dashboard I get this error:

    PHP Fatal error: Call to undefined function: get_post() in D:\users\AdlerD\Inetpub\wwwroot\tradeshowexpert\wp-admin\post.php on line 224

    I have no idea what to do or why this happening. I thought maybe it was looking in the wrong folder, but I don't even know where to change that information. I have searched the forums and couldn't find anything on this. Maybe i'm looking in the wrong place, but can anyone help?

  2. prokurator
    Member
    Posted 9 years ago #

    there is mistyped name of the function. Line 224 should be like this:
    $postdata = &get_postdata($post_ID);

  3. ifelse
    Member
    Posted 9 years ago #

    The function name is fine. Can you make sure that you uploaded the latest version of wp-includes/function.php?

  4. prokurator
    Member
    Posted 9 years ago #

    I just uploaded latest version of wordpress 1.5.1.3

Topic Closed

This topic has been closed to new replies.

About this Topic