{"id":12433,"date":"2017-03-31T11:37:59","date_gmt":"2017-03-31T11:37:59","guid":{"rendered":"http:\/\/nativewptheme.net\/support\/?p=12433"},"modified":"2017-03-31T11:39:48","modified_gmt":"2017-03-31T11:39:48","slug":"menu-settings-reset-after-saving-menu","status":"publish","type":"post","link":"https:\/\/nativewptheme.net\/support\/knowledge-base\/menu-settings-reset-after-saving-menu","title":{"rendered":"Menu Settings Reset After Saving Menu"},"content":{"rendered":"<p>You may encounter the issue with menu resetting when assigning new menu and saving it.<\/p>\n<p>This is reasoning from low server configuration parameters, max_input_vars value in particular.<\/p>\n<p>If you submit more menu item variables than the PHP-configured limit, the menu items over the limit will be lost. So if you submit 1200 variables, and the limit is 1000, the last 200 are simply discarded \u2013 WordPress never even knows they were sent. These 200 variables will correspond to the last 18 items or so in your menu.<\/p>\n<p>It\u2019s just a case when you need to configure your server properly.<\/p>\n<p>Simply, contact your hosting provider and ask to increase the max_input_vars value for you.<\/p>\n<ul>\n<li><strong>Max_input_vars<\/strong> \u2013 represent the number of different values processed at a time. This value is important for proper menu functioning. We use <strong>5000<\/strong> value set for max_input_vars for our menus as far as the theme has a lot of menu items. You may use smaller values \u2013 3000 or 1000 \u2013 in case you\u2019ll be using fewer menu elements.<\/li>\n<\/ul>\n<h5>Check the recommended server configuration for proper theme functioning:<\/h5>\n<ul>\n<li>PHP version 5.3 and higher<\/li>\n<li>memory_limit \u2013 128M<\/li>\n<li>max_execution_time \u2013 120<\/li>\n<li>max_input_time \u2013 60<\/li>\n<li>upload_max_filesize \u2013 30M<\/li>\n<li>max_input_vars \u2013 3000<\/li>\n<\/ul>\n<p>Make sure your server is set up properly and the theme and content will be loaded correctly. Enough server configuration will also ensure fast speed and increase performance.<\/p>\n<p>More details about menu creation you may find in <a href=\"http:\/\/nativewptheme.net\/support\/widgets-menus\/menu-creation\">this post<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Regards, DFD Support Team<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may encounter the issue with menu resetting when assigning new menu and saving it. This is reasoning from low server configuration parameters, max_input_vars value in particular. If you submit<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[35,19],"_links":{"self":[{"href":"https:\/\/nativewptheme.net\/support\/wp-json\/wp\/v2\/posts\/12433"}],"collection":[{"href":"https:\/\/nativewptheme.net\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nativewptheme.net\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nativewptheme.net\/support\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/nativewptheme.net\/support\/wp-json\/wp\/v2\/comments?post=12433"}],"version-history":[{"count":1,"href":"https:\/\/nativewptheme.net\/support\/wp-json\/wp\/v2\/posts\/12433\/revisions"}],"predecessor-version":[{"id":12434,"href":"https:\/\/nativewptheme.net\/support\/wp-json\/wp\/v2\/posts\/12433\/revisions\/12434"}],"wp:attachment":[{"href":"https:\/\/nativewptheme.net\/support\/wp-json\/wp\/v2\/media?parent=12433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nativewptheme.net\/support\/wp-json\/wp\/v2\/categories?post=12433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nativewptheme.net\/support\/wp-json\/wp\/v2\/tags?post=12433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}