Skip Navigation

[Resolved] Custom Field Groups – Is there a limit on fields/labels within a group?

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

Problem:

The field group won't save any new custom fields, so I had to create a second and third group.

Solution:

It should be a server limitation problem, please try to increase the limitation of your website, for example, in wp-config.php, add below line:

@ini_set( 'max_input_vars' , 3000 );

Relevant Documentation:

https://www.php.net/manual/en/info.configuration.php#ini.max-input-vars

This support ticket is created 4 years 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 8 replies, has 2 voices.

Last updated by CaseyK4294 4 years ago.

Assisted by: Luo Yang.

Author
Posts
#1827473
Screen Shot 2020-10-28 at 11.53.30 AM.png

Tell us what you are trying to do?
Make one custom field group for all categories of search criteria I want on a search form. All custom field types are set to check boxes, some have many options (20+). A a certain point, the field group won't save any new custom fields, so I had to create a second and third group. I don't mind using this workaround if there is a limit to the amount of fields or labels within a group, but if there isn't I would rather troubleshoot it and fix it early on.

What is the link to your site?
hidden link (this page has the whole list of custom fields, all are separated into three groups on the backend)

Attached screenshot shows backend, where search criteria is split into 3 custom field groups.

#1828177

Hello,

It should be a server limitation problem, please try to increase the limitation of your website, for example, in wp-config.php, add below line:

@ini_set( 'max_input_vars' , 3000 );

More help:
hidden link

#1829045

I will try this, thanks so much!

#1829363

OK, please let me know if you need more assistance for it, thanks

#1830005

I do still need assistance. This did not seem to help with the issue.

#1831635

Please provide a test site with the same problem, fill below private message box with login details and FTP access, also point out the problem field group URL, I need to check it in a live website, thanks

#1832799

Thanks for the details, I can login your website, will update here if find anything

#1832811

Please check these in your website:
Dashboard-> Toolset-> Settings, click link "Toolset Debug Information and Troubleshooting":
hidden link
in the debug information, you should see below:

"MaxInputVars":"1000"

Your website server has limitation 1000 on "MaxInputVars", which conducts the problem.

I have tried to increased by editing wp-config.php, .htaccess and php.ini, none of them take effect in your website.
hidden link
So you will need to check it with your server provider for how to increase PHP max_input_vars limitation in your website.

#1833459

I will look into it with our server provider, thank you!