• Resolved pipedragon72

    (@pipedragon72)


    I’m having problems with a menu I’m trying to create for someone. It’s fairly long and it keeps crashing and losing data. So, the hosts have changed the php.ini file which says the following when I open it up:

    max_input_vars = 5000

    (They haven’t added suhosin as they don’t use it) I’ve also installed the Menu Item Limit Detector Plugin but that doesn’t seem to work when activated as I keep getting the same problem. I’ve also tried deactivating plugins and changing to a default theme but no joy.

    Not quite sure what else to do really and it’s driving me slightly mad! One thought is that the site I’m working on is in a new install of WP in a folder called NEW. Would there need to be a php.ini file within this folder or is it ok just in the root?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I had the same issue and found this article helpful:
    https://webcusp.com/solved-how-to-increase-wordpress-menu-items-limit/

    Adding the .user.ini file to my root folder did the trick for me. Here are the instructions:

    Create a file .user.ini and add the following code to it and try placing it in WordPress root or in wp-admin folder;

    max_input_vars = 5000;

    I created the file in text editor. I had to add the first period to the file after I uploaded to the ftp site, so it wouldn’t “hide” the file.

    Good luck!

    Thread Starter pipedragon72

    (@pipedragon72)

    aha! thank you ?? i tried both the php.ini in the wp-admin folder and the .user.ini in there too and something seems to have worked.

    MANY THANKS; saved a whole world of headaches!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Menu Item Limit’ is closed to new replies.