WordPress.org

Ready to get started?Download WordPress

Forums

(Upgrade to 2.2) Fatal Error on Dashboard (3 posts)

  1. Lassirra
    Member
    Posted 7 years ago #

    I completed the upgrade today, following the detailed upgrade instructions to the letter, and encountered the following error once I logged back into my dashboard:

    Fatal error: Call to undefined function: get_private_posts_cap_sql() in /hsphere/local/home/(name)/(site)/wp-admin/index.php on line 64

    Not sure where I went wrong, or what this error is all about, exactly. I did a quick skim of the support forums and couldn't find this error mentioned anywhere, so I thought I'd ask about it. Any help is greatly appreciated! Thanks! :)

  2. MichaelH
    Member
    Posted 7 years ago #

    Usually, after an upgrade, when you encounter an undefined function error, the problem is a result of one or more files not being uploaded correctly to your host.

    In this case, it indicates that wp-includes/post.php may not be a completely intact file on your host server.

    So upload that file at least. If you get more errors, consider reuploading all the files.

    Resource:
    Uploading_WordPress_to_a_remote_host

  3. sikosis
    Member
    Posted 6 years ago #

    Hi,

    I just updated one of my sites to WP 2.2.2 and I've got the same problem as described above.

    I tried reuploading post.php and this has made no difference.

    I then uploaded all the wp-include files and then ran the upgrade script again. This seemed to fix the issue.

Topic Closed

This topic has been closed to new replies.

About this Topic