• The following shows up on the menu editing page:

    You are approaching the post variable limit imposed by your server configuration. Exceeding this limit may automatically delete menu items when you save. Please increase your max_input_vars directive in php.ini. More information
    max_input_vars :: 1000

    Menu Item Post variable count on last save :: 859
    Approximate remaining menu items :: 9

    Loaded configuration file: /web/conf/php5.ini

    I have followed the instructions here.

    Here is a picture.

    I changed the php.ini in the web root. But if you look at the yellow box with the text it mentions something called php5.ini which even GoDaddy couldn’t help me find.

    I don’t completely know what I am dealing with here and a lot of the help I have seen online has been a little confusing. I tried the thing I read to do and it didn’t work. I read somewhere on here to add this same type of jargon to the htaccess file or something, but all that did is shut down my site.

    This is urgent. I need to add new menu items. All I need is to figure out how to increase this max vars thing.

Viewing 7 replies - 16 through 22 (of 22 total)
  • Moderator James Huff

    (@macmanx)

    i have the wordpress backup to dropbox, is that sufficient?

    If you have both the files and the database, yes.

    thank all ya’ll for your help

    You’re welcome!

    Thread Starter lokeanflamingo

    (@cuddlebat)

    can we keep this open until i have talked to godaddy so i don’t have to start over?

    Moderator James Huff

    (@macmanx)

    Sure thing, we don’t close threads unless absolutely necessary or they reach an automated closure time (a year, I think).

    Thread Starter lokeanflamingo

    (@cuddlebat)

    thanks

    @ catacaustic
    Thankyou for solution.

    I had the same problem with max_input_vars and solved the issue by:

    1. Editting php.ini file and searching for “max_input_vars” and changing the value to 3000 (previously it was 1000)
    *** Dont forget to remove the “;” at the start of the code line to make this change take efffect

    2. Moving the php.ini file to wp-admin folder of the wordpress installation directory

    3. Problem solved

    if you don’t find php.ini file in your wordpress installation directory, you can creat one by going to:
    c-panel>php config
    and just pressing “Save Changes” button. that will creat a php file in public_html directory, then you can move/copy to the location you want and then you can edit the file.

    Note: i was using Bluehost and they alloow to change php config. please check if the option of “php config” is available in you c-Panel

    Thankyou WP Community once again.

    I’m on a windows server, should I have the php.ini file in two places:

    C:\Program Files (x86)\PHP\v5.4\php.ini

    and in the wp-admin folder?

    If you’re creating yoru own php.ini file, then yes there should be two separate php.ini files on all servers. There is the main one that is the server-wide configuration, and your local one that is over-riding the settings in the default one.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Menu item limit warning’ is closed to new replies.