Custom Field Group Not Saving
Support › Meta Box AIO › Custom Field Group Not SavingResolved
- This topic has 5 replies, 3 voices, and was last updated 1 year, 2 months ago by
[email protected].
-
AuthorPosts
-
July 3, 2023 at 11:41 PM #42457
[email protected]
ParticipantHi,
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
July 4, 2023 at 9:42 PM #42468Peter
ModeratorHello,
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
July 5, 2023 at 12:25 AM #42474[email protected]
ParticipantHi,
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
July 5, 2023 at 9:36 PM #42485Peter
ModeratorHello,
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/July 7, 2023 at 1:14 AM #42509[email protected]
ParticipantThat worked perfectly Peter, thank you for pointing me in the right direction, much appreciated!
September 20, 2024 at 4:22 PM #46501[email protected]
ParticipantHello,
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_FQVaD20DXAny Ideas?
Thank you!
Peter -
AuthorPosts
- You must be logged in to reply to this topic.