Clonable Groups keep adding a new group at the beginning

Support MB Group Clonable Groups keep adding a new group at the beginningResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #47532
    Christie WalkerChristie Walker
    Participant

    I just updated to the latest version of MB Group (from 3.1.18). I had clonable group fields already existing.

    First, when I updated, I got a warning that 'clone_empty_start' was not a valid array key (group-field.php line 220) so I had to go through all my cloneable fields and add that option in.

    More importantly, I am now having a problem where an empty group of fields is being prepended to my groups with a number of 0 (in the group title). This is happening whether I set 'clone_empty_start' to true or false.

    If I save the item, ANOTHER empty group of fields is added. So now I have Group 0 and Group 1 which are both blank, and THEN my previously-saved values start with Group 2.

    #47536
    PeterPeter
    Moderator

    Hello Christie,

    It could be an issue when updating Meta Box plugins from an older version. Does that happen with a new field group or a new post? If yes, please export the field group to a JSON file and share it here. I will import it to my demo site and investigate the issue.
    Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import

    #47544
    Christie WalkerChristie Walker
    Participant

    I updated the base Metabox plugin and that seems to have solved the issue.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.