WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "An unidentified error has occurred" under Comments on Edit Post screen (7 posts)

  1. skepticwebguy
    Member
    Posted 2 years ago #

    When I Edit a Post that I know has comments attached to it, I see the message "An unidentified error has occurred" under the "Comments" heading (in Edit Post view in admin).

    I have deactivated all plugins, repaired the database (no errors found) and the message persists. I've compared my wp_comments table structure to two other WordPress installations I have and the structure appears the same, yet I do not see this message on the other two sites when editing posts with comments.

  2. Dhikra
    Member
    Posted 2 years ago #

    Try switching to TwentyEleven and see if you still get it.

  3. skepticwebguy
    Member
    Posted 2 years ago #

    That solves the problem. I'll explore my custom theme and see what's wrong. Do you have any idea what code in the theme files is responsible for displaying Comments in Edit Post mode?

  4. skepticwebguy
    Member
    Posted 2 years ago #

    Do you have any idea what code in the theme files is responsible for displaying Comments in Edit Post mode?

  5. skepticwebguy
    Member
    Posted 2 years ago #

    Problem solved. I narrowed down the problem to something within my functions.php file in my theme. After some trial and error, I was able to narrow the problem down to having several hard returns after the closing ?> tag in my functions.php file. Removing those few hard returns solved the problem.

    Now, I can see the comments on my Edit Post screen, as expected.

  6. artsfantasy
    Member
    Posted 2 years ago #

    I had the same problem. what it turns out in my case is that there is a conflict with the plugin:
    Media Categories

  7. CathWebmaster
    Member
    Posted 1 year ago #

    I had the same problem but at the end it was the php.ini from my Zend Server (using mac) $_REQUEST that was empty. I don't know why it was empty but you should check it out if you still get the problem.

    You just need to add:G(Get)P(POST) and my problem was solve.

Topic Closed

This topic has been closed to new replies.

About this Topic