Skip Navigation

[Resolved] Restrictions on the number of custom fields

This thread is resolved. Here is a description of the problem and solution.

Problem: I am unable to save more custom fields when I try to add them in the Field Group. It seems there is some limitation imposed by Toolset.

Solution: The limitation in this case is imposed by a configuration on your server. The MaxInputVars configuration was set at 1000, which is the lowest end of acceptable settings. Try to increase this to at least 3000.

This support ticket is created 4 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by tomaszB-4 4 years, 10 months ago.

Assisted by: Christian Cox.

Author
Posts
#1525435

Tell us what you are trying to do?

I have a custom post type: waluty.
I've created 82 custom fields in them.
Unfortunately, I can't add another field.
The form is saved, but I don't see this field in the list.
It looks strange, like Toolset has a limit on the number of fields.

What is the link to your site?

Of course, access to the site will be available on support request.

But at the moment - does anyone know about any restrictions on the number of custom fields?

#1525685

Hi, Toolset doesn't necessarily limit the number of custom fields but you may be running into a limitation enforced by your hosting company. There is a PHP configuration setting called MaxInputVars on the server, which basically limits the number of pieces of data that can be transferred during the "save" event. If you would like to include your site's debug information I'll be able to take a look at that configuration and see if your limit is on the lower side or higher side. If it's lower, then you may be able to fix this by asking your hosting company to increase the limit. You can get information about including your site's debug info here: https://toolset.com/faq/provide-debug-information-faster-support/

Please include your debug information with your next reply and I'll take a closer look.

#1525799

Thanks Christian!
It seems to me that this does not solve the problem.
It's propably this record:

"MaxInputVars":"1000"

So amount is enough.

#1525803

Okay 1000 is the lowest recommended setting so I think this is most likely the problem. I suggest 2000 as a test. Please ask your hosting provider to help you increase this setting and let me know the results.

#1526611

You are right Christian, thanks a lot!
Well, every custom field consists of 11 inputs, so I thought stupidly... 😀
I have changed value on 5000 and everything works as it should.