Custom Field Group Not Saving

Support Meta Box AIO Custom Field Group Not SavingResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42457
    michael@wdsaigon.com[email protected]
    Participant

    Hi,

    I have a settings page and I am saving custom fields groups to it. I have managed to save one set of custom fields, however I am trying to save another set (in a different tab).

    The first set saved fine with no problems, however, when I try to save the second set, it gives a green toast bar to say it has been updated, however the custom field group remains in draft form and publish button instead of update.

    Screenshot: https://prnt.sc/s2OKkgObggug

    #42468
    PeterPeter
    Moderator

    Hello,

    What happens if you click on Publish? If the field group is still in Draft mode, you can try to deactivate all plugins and leave only Meta Box, MB AIO activate, switch to another theme.

    If it still does not work, please export the field group to a JSON file and share it here. I will check this issue on my demo site.

    Refer to the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import

    #42474
    michael@wdsaigon.com[email protected]
    Participant

    Hi,

    It just refreshes with the toast bar as per screenshot, that is after I clicked publish.

    As per your request, I deactivated all plugins, activated 2023 and it still does not work.

    Here is the pastebin for the Location Fields that will not publish: https://pastebin.com/04fNmdK8

    Here is the pastebin to Company Fields that do publish: https://pastebin.com/3iYA797b

    Thanks

    #42485
    PeterPeter
    Moderator

    Hello,

    I see that issue on my local site after importing the field group. Then I increase the PHP setting max_input_vars (about 10k) and it seems to resolve the issue.
    https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/

    #42509
    michael@wdsaigon.com[email protected]
    Participant

    That worked perfectly Peter, thank you for pointing me in the right direction, much appreciated!

    #46501
    peterteszary@gmail.com[email protected]
    Participant

    Hello,

    I am trying to create a settings page for my client's site. Created the settings page : "Árak".
    Also made Custom Field Groups (3) with two text fields in it, the Groups are cloneable (also "save value" is checked).

    However it only saves one row of the group, and overrides it with the next one every time I try to save a new row.

    https://prnt.sc/kNWw2hTwZHdZ
    https://prnt.sc/l8kfOndttOpx
    https://prnt.sc/T5_FQVaD20DX

    Any Ideas?

    Thank you!
    Peter

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