Issue with disappearing data in metabox.io custom fields

Support MB Builder Issue with disappearing data in metabox.io custom fieldsResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42557
    EliodataEliodata
    Participant

    Hi,

    I've been using your plugin on my WordPress site for a couple of years now without any issues. However, as of yesterday, I've encountered a problem I can't seem to solve.

    I'm using a custom field of type "select" to provide a list of options, which I then use in the admin panel to add fields to a custom post type. After modifying the list of choices in the custom field, all fields vanish in the custom post type edit page. Not just the fields I've changed, but all fields. All data is emptied except for the post's title.

    Interestingly, the data still shows correctly on the main Custom Post Type page which displays the table with all posts and admin column info. This leads me to believe the data is still present in the database.

    I have tried debugging and troubleshooting potential plugin conflicts, but I haven't been able to identify the cause of this issue.

    Could you please provide some guidance on this matter? Are there known issues that could lead to this kind of behavior or steps I could take to further diagnose and solve this problem?

    Thank you in advance for your help.

    #42566
    PeterPeter
    Moderator

    Hello,

    Please check the option "Save field value" if it is disabled. If yes, please enable it and recheck this issue. See this screenshot https://monosnap.com/file/boUvSTyR4Kmm5Ls0wmDiELKehY7Lkb

    #42570
    EliodataEliodata
    Participant

    Thank you for the quick answer.
    Same problem when I activate the "save field value" option. Any change in the custom fields or the settings erase the content...
    You can see the issue in video here:

    https://eliodata.com/fstest/metabox-issue.mov

    #42582
    PeterPeter
    Moderator

    Hello,

    Can you please check the option "Save field value" of all fields in the field group? I see it is disabled in your screen record and you only enable it for one field "Referent FS".

    #42586
    EliodataEliodata
    Participant

    Hello,
    It works. Any idea why it wasn't a problem the 2 last years?

    Thank you!

    #42597
    PeterPeter
    Moderator

    Hello,

    It might be related to the new version of the builder to change that option from checkbox to switch, I think. Anyways, thanks for your confirmation.

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