Forums

[resolved] "unidentified error" when trying to create custom field in the post editor (4 posts)

  1. frhdl
    Member
    Posted 2 years ago #

    Hello there,

    I'm trying to create a new custom field in the post editor, but i always get the message "An unidentified error has occurred." without the field being actually created.
    Browsing through the forum i found quite a few people have the same problem, but i couldn't find a definite answer.
    I'm using WP 2.7, the custom field i wish to create is not yet being called from anywhere within my theme/templates so i can't see where the problem is… a bug? misconfiguration on my part? anything else?
    Your (any!) help is very much appreciated,

    f

    p.s. i get the same error on my webserver as well as on my local machine running WP via MAMP…

  2. frhdl
    Member
    Posted 2 years ago #

    I forgot to add that i'm not using any plug-ins dealing with custom fields (in fact i'm not using any plug-ins at all for the time being), so that can't be the source of the above problem…

  3. frhdl
    Member
    Posted 2 years ago #

    OK, found the solution last night myself:

    You simply have to enter a value, not only a key, and everything is fine. I just tried to create the custom fields empty and then fill them with the appropriate values afterwards, which WP apparently does not allow. So not a bug, at least not technically, but surely in terms of user guidance/usability.

  4. muymalestado
    Member
    Posted 2 years ago #

    Thanks frhdl - BUT . . .

    I am getting the 'Unidentified error' at line 17 in page-comments.php where this is the mesage:" Fatal error: Call to undefined function k2_post_class() ".

    I tried to put the Value of 'true' into the custom field 'Comments' on the page editor screen.

    What I did notice was that on the page editor there was a red "Unidentified error" message but when I added the Value 'true' that error went away.

    Saving the page and renewing the cache did not eliminate the error.

Topic Closed

This topic has been closed to new replies.

About this Topic