Home › Forums › General Issues › Limit 58 to custom field?
When i try to add the 58′ field to one of my field group, and save it, it is not saved.
I read this
https://www.advancedcustomfields.com/resources/limit-number-fields/
and tried the htaccess solution and didn’t work. I tried to take a look to phpinfo(), but the max_vars limit is still 1000 (that would be enough).
The problem is the same reported here:
https://support.advancedcustomfields.com/forums/topic/is-there-a-limit-on-fields/
Unfortunately he didn’t published the solution. :_)
Any idea?
Install this plugin https://wordpress.org/plugins/wp-max-submit-protect/
It will give you a popup if you are over max vars limit and will tell you how many fields there are so that you can adjust your settings to accommodate it. How you adjust it will depend on the hosting of the site.
The plugin pointed out the problem. It was the max_vars, indeed. Htaccess setting seems not to be seen by the system. I’ll try a different solution. thank you very much!
Check with your hosting provider. You may need to use something like ini_set()
and add it to wp-config.php, it all depends on whether or not your host allows the value to be changed and if so, how.
I tried adding a new php.ini in wp_admin, like someone suggest, but it raise a 500 internal server error (I think I’m supposed to have the original php.ini, change it and load it in wp_admin, instead of adding only the setting i need). I can’t access hosting features, by now. I don’t really now where to put an ini_set and I read that for this setting it doesn’t work if called this way, i mean run-time.
Yes, you’re right, the setting can only be done in php.ini and in .htaccess. You’re best bet is going to be to contact your hosting support and see if they can help you. If they don’t permit this kind of change then you might want to look at the possibility of altering how you’re building the site, maybe there’s another solution or you can look at splitting up the field group into multiple groups.
You’re right! There was no escape. In The end, I Was forced to request the change to my provider. Thank you very much for The support!!
The topic ‘Limit 58 to custom field?’ is closed to new replies.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.