If your navigation menu contains a large number of items, you may notice that some custom menu fields (such as design options, icon names, or labels) are not saved correctly. This usually affects the last menu items in the list.
Why This Happens #
In most cases, this issue is caused by a low PHP max_input_vars value in your server configuration. When this limit is too low, WordPress cannot process all menu fields during saving.
How to Check the Current Value #
- Go to WordPress Dashboard → WooCommerce → Status (System Status).
- Look for the
max_input_varsvalue in the server environment section.
How to Fix the Issue #
- The recommended value for
max_input_varsis 10000. - On many shared hosting environments, this value cannot be changed manually.
What to do:
- Contact your hosting provider and request them to increase
max_input_varsto 10000.
After Updating the Limit #
Once the value is increased:
- Save your menu again.
- All custom menu fields should be stored correctly.