Forums

Hundreds of pre-filled custom fields at new post. (8 posts)

  1. tvallier
    Member
    Posted 2 years ago #

    Hi there,

    I'm working on a client's site and have spotted an issue where there are hundreds of custom fields, all pre-populated when I try to load the New Post screen.

    Screenshot: http://img189.imageshack.us/img189/2859/wpbug.jpg

    Any thoughts on what's triggering this? The page is taking about 15 minutes to load right now...

  2. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    Looks like raw data is being pulled from the wp_options table rather than being parsed. Deactivate all plugins and check to see if this resolves the problem. If it does, activate the plugins one by one - checking the post after each re-activation - until you (hopefully) find the problematic plugin.

  3. tvallier
    Member
    Posted 2 years ago #

    Good thought - and just gave that a try - deactivated all 13 plugins, and still got the hundreds of custom field boxes. Same data, too.

  4. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    I've got a horrible feeling that something's damaged a table. After re-checking the screenshot, it may not be wp_options. Could be wp_postmeta. Might be worth checking the latter table to confirm it.

  5. tvallier
    Member
    Posted 2 years ago #

    Hmmm - I'm got 848 values in wp_postmeta with a meta_key of 'delicious'.

    139 of them have unique post_id values... the rest all have a post_id of 0

  6. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    Oh - that sounds very suspicious! Backup the table and remove records with a post_id of 0?

  7. tvallier
    Member
    Posted 2 years ago #

    So... I think I'll answer with "sortof".

    Removing the records with a meta_key of "delicious" and a post_id of 0 DID remove them from the 'Add Post' page... but the page still takes a few minutes (closer to 5 now) to load, and the custom fields box still appears (with 'delicious' being the only option in the dropdown...

    A step forward, at least!

  8. alxndr
    Member
    Posted 2 years ago #

    Appears to have worked for me as well.

Topic Closed

This topic has been closed to new replies.

About this Topic