• Resolved nacochan

    (@nacochan)


    After upgrading to the latest version, I am getting an error on the admin index page and I can not figure out how to fix it.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • On this thread, http://wordpress.org/support/topic/118069 I suggested trying to reupload your 2.2 files, in particular your wp-admin folder.

    Please report back if that solves your problem (or not).

    Thread Starter nacochan

    (@nacochan)

    Thanks, sorry I searched and didn’t find that thread before 🙂

    I reuploaded and I am still getting the error.

    Well that function get_private_posts_cap_sql() is a new function in wp-includes/post.php as of 2.2, so leads me to think not all your files are the correct 2.2 version.

    Look at your wp-includes/post.php file and using an acceptable editor find the string “get_private_posts_cap_sql”.

    Report back here if you find that string. If you don’t find it, I would consider deleting and reuploading the 2.2 files.

    Thread Starter nacochan

    (@nacochan)

    Thanks! I re-uploaded post.php and now it works 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error on admin after upgrade’ is closed to new replies.