• markwill

    (@markwill)


    I have spent a ton of time looking at this but can’t figure out a pattern. I can’t save visibility rules for some – but not all – of my menu items. The options appear, I can select the criteria I need but when I save my changes are not persisted (the Enable Visibility Rules checkbox is unchecked).

    Some of the menu items in the same menu can be saved and, as I say, this only occurs with some menu items, but I simply can’t figure out why.

    I have tried deactivating plugins that may conflict but no luck.

    I am running WordPress 5.2 and PHP 7.3 (the move to 5.2 was just today – this issue happened on 5.1 too).

    Any ideas?

    Thanks.

    Mark

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    I’m having the same issue too.
    Are they any limit of the number of IF menu items?
    Recently, I tried to add more menu items. I can select the criteria and save but the changes are not persisted.
    I need to resolve this issue quickly as my website depends on it. Can we get premium for quick support or any alternative?

    Thanks,

    Simon

    Plugin Author Andrei

    (@andreiigna)

    Hi,

    This is most likely a problem related to server and PHP configuration.
    While saving the menus, a lot of data is sent to server, and the server accepts only a maximum number of input data that is set by server https://www.php.net/manual/en/info.configuration.php#ini.max-input-vars

    This is a common problem for websites with large menus, searching Google for “wordpress menu max_input_vars” will show other posts related to this.

    At the moment this can’t be fixed through If Menu plugin or WordPress, but by using menus with less menu items or changing the server settings, explained here:

    https://themes.artbees.net/blog/custom-menu-items-limit-in-wordpress/

    https://jonnyjordan.com/blog/how-to-increase-the-menu-items-limit-in-wordpress/

    We are working on a change that will improve this part in If Menu plugin, sending less data when saving If Menu visibility rules, but this is still mainly limited by the hosting server.

    Hope this helps

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Can’t save SOME menu items’ is closed to new replies.