I created a layout module 7m (layouts). Each layout has about 15-20 fields (including eating and one repeater with fields). There comes a moment when I can not create more fields. And nothing else is stored. A begins to persist if you remove one field. Then another one I can keep.
How can I fix this problem?
Notice: Undefined index: sub_fields in /home/surround/subdomains/staging/wp-content/plugins/acf-flexible-content/flexible-content.php on line 349
Warning: Cannot modify header information – headers already sent by (output started at /home/surround/subdomains/staging/wp-content/plugins/acf-flexible-content/flexible-content.php:349) in /home/surround/subdomains/staging/wp-includes/pluggable.php on line 1121
Your php setting for max_input_vars is 3000
Look at the field group you’re creating. Each field you’re creating has many inputs there may even be a bunch of hidden inputs. If you add them all up they are most probably near your 3000 limit.
When you submit the page to save your fields, if there are more than 3000, php simply throws away the excess, so they are not submitted to the script that needs to save your field group.
Does your host allow you to increase that setting? I would suggest upping it to 5000 see what happens. If your host does not allow you do change that php setting then you’ll need to figure out a different way to accomplish what you want to do using less fields.
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.