WordPress.org

Ready to get started?Download WordPress

Forums

Unable to edit post: Call to undefined function enqueue_comment_hotkeys_js() (6 posts)

  1. John
    Member
    Posted 5 years ago #

    I just upgraded to 2.7 and right off the bat i've noticed that i can no longer edit my post.

    I get an error page with the following:

    Call to undefined function enqueue_comment_hotkeys_js() in /webdirectory/wp-admin/post.php on line 148

    The problem also appears when i visit the edit-comments.php

    i can however edit pages.

  2. Stephanie Leary
    Member
    Posted 5 years ago #

    I just encountered that error in one of my clients' sites. Since it prevented her from posting, I hacked the core files to comment out the offending function... hopefully the next WP update will take care of the problem.

    Here's where I found it:

    /wp-admin/edit-comments.php line 13
    /wp-admin/edit-pages.php line 100
    /wp-admin/post.php line 148

    According to this changeset, it should be in several more places, but I couldn't find it there. Maybe there was a later changeset that removed it again and I'm just not seeing it.

    Bug reported.

  3. Austin Matzko
    Member
    Posted 5 years ago #

    It looks like you're missing the wp-admin/includes/comment.php file or it was corrupted. Try uploading it again.

  4. Stephanie Leary
    Member
    Posted 5 years ago #

    Did so already from a fresh package, filosofo. Still getting the errors. :(

  5. Stephanie Leary
    Member
    Posted 5 years ago #

    ... tried it yet again with another fresh download and it's finally working properly. Why that took four tries on two different machines, I do not know.

  6. John
    Member
    Posted 5 years ago #

    I reinstalled too and it works now.

Topic Closed

This topic has been closed to new replies.

About this Topic