Advanced Custom Fields
Deleted subfields remain the DB (3 posts)

  1. Lopo
    Posted 4 years ago #

    I've bought the repeater option and used it to declare a series of dates.
    If I add X dates to the post and save it, everything's fine. If I edit the post removing a date from the series, in the DB (table "postmeta") the date is still present.
    It's a big problem since I have to find at once which post has a date subfield set to a certain day, so I have to check these values, but I have to do it with a custom SQL query and I can't use your repeater functions.

    Why the deleted subfield is not removed from the DB?
    This would also mean that if I frequently change the subfields, all the old values still remain in the DB, totally unused?


  2. fas.khan
    Posted 4 years ago #

    Having this same problem.

    Were you manage to find a solution for it ?

  3. Lopo
    Posted 4 years ago #

    No, I didn't, and it seems that the problems is still there even with the newest versions:


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic