Fix menu settings not saving

When a WordPress menu contains many items, changes near the end of the menu may not be saved. WoodMart settings such as dropdown design, an assigned HTML Block, labels, or menu item images may return to their previous values after you click Save Menu.

The most common cause is the PHP max_input_vars limit. Every menu item submits multiple standard WordPress fields and additional WoodMart settings. If the request contains more variables than PHP accepts, the remaining fields are truncated and never reach WordPress. See the PHP documentation for max_input_vars.

Avoid repeatedly saving the affected menu until the limit is increased, because values omitted from the request may be lost.

Check PHP Max Input Vars

1. Navigate to Dashboard -> WoodMart -> Status.

2. Find PHP Max Input Vars in the server requirements.

3. If the current value is below 10000, increase it before saving the menu again. WoodMart checks for a minimum value of 10000.

Increase the limit

Depending on your hosting environment, you may be able to change the PHP setting in the hosting control panel, php.ini, or .user.ini. Otherwise, contact your hosting provider and ask them to set the following value for the PHP version used by your website:

max_input_vars = 10000

The hosting provider may need to reload the PHP service before the new value becomes active.

Verify the new value

1. Return to Dashboard -> WoodMart -> Status and confirm that PHP Max Input Vars now shows 10000 or more.

2. Navigate to Dashboard -> Appearance -> Menus, open the affected menu, and save it again.

3. Check the menu items near the end of the list and confirm that their WoodMart settings remain saved.

If the menu still does not save

  • If saving redirects to a 403 or 404 page, ask your hosting provider to check whether a firewall or ModSecurity rule blocks the request.
  • If the problem occurs with a small menu or only one field, update WoodMart and the WoodMart Core plugin, then check for a plugin conflict or contact our support team.