WordPress.org

Ready to get started?Download WordPress

Forums

Can't add custom fields--get "something strange..." error (3 posts)

  1. rzacks
    Member
    Posted 6 years ago #

    WP won't let me add custom fields to my posts--it just keeps giving me the "Something strange happened" error. Same problem in Firefox and Safari, and yes I've reloaded, restarted, refreshed, etc. A colleague accessing the exact same post from a different computer (also a Mac, probably a different version of OS) in a different building can add custom fields just fine. Are there known problems with custom fields, 2.2.2, and certain versions of OSX? I didn't have this problem before our last upgrade of WP.

  2. sweetsamara
    Member
    Posted 6 years ago #

    Same problem here even after upgrading to 2.3.2 and when I upgraded to 2.3.3 I still have the issue. It would sure be nice if I could get my custom fields working. I really need them to work

  3. ezerick
    Member
    Posted 5 years ago #

    In researching the issue, I found that auto_increment should be set for the metadata_id field in the wp_metadata table. If it is not set, WordPress tries to assign a metadata_id of 0 for all new custom fields and fails with that something strange error. I can't guarantee it will work for you but it is something worth checking. When switching that field to aut_increment, make sure to remove the default value of 0.

Topic Closed

This topic has been closed to new replies.

About this Topic