Conflict with Mega Menu - by VitalVibeSource

This topic has 12 replies, 2 voices, and was last updated 7 years, 8 months ago ago by Olga Barlow

  • Avatar: VitalVibeSource
    VitalVibeSource
    Participant
    March 22, 2017 at 06:12

    Hi,
    I believe there is a conflict with the new update of XStore and the mega menu. My menyu looked great before, but ever since the last update, the menu on my site is not displaying correctly.
    The first few tabs look ok, but the last 3 have issues with the “disable navigation label” not working for the images that are displayed. It now appears all jumbled up.

    11 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 22, 2017 at 18:30

    Hello,

    Please, go to Appearance > Menus and check if the option to disable navigation labels was saved. Very likely you reached the Max Input Vars limit because of menu items number and your WP can’t save all the settings of your menu.

    So, if you choose the option, save menu but then you’ll see that option is not saved then increase max input vars limit to 5000 for example. Read more http://sevenspark.com/wordpress/menu-item-limit

    Regards

    Avatar: VitalVibeSource
    VitalVibeSource
    Participant
    March 24, 2017 at 23:49

    Hi,
    I raised the max var limit to 8,000 and nothing changed.
    I spent 40 min with my hosting service who tried to help but said they could not solve it and for me to contact the plug-in developer.
    I thought this was a plug-in initially, but it looks as though it is built into the theme…

    How can I solve this issue?
    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 25, 2017 at 11:43

    Hello,

    Go to Appearance > Menus and try to create the only one menu item with subitems like you have for the last item in your current menu and enable “hide titles” option. If everything works fine with such
    a small menu and does not work when you increase the number of the menu items it means that PHP max input wars is the reason of your problem. Please, make sure that you restarted Apache after changes in php.ini to apply these changes. Also, if your server runs Suhosin then you will also need to increase the following directives in php.ini:

    suhosin.post.max_vars = 8000
    suhosin.request.max_vars = 8000

    Restarting Apache with the new maximum POST variable values should allow you to submit all of your menu item variables and therefore save new menu items.

    Regards

    Avatar: VitalVibeSource
    VitalVibeSource
    Participant
    March 27, 2017 at 19:35

    So I contacted HostGator again, and they helped me reset the max post vars from 1,000 to 8,000 as the changes to php.ini I made were not saved somehow. She said she created a new httpaccess file and this did the trick. Unfortunately, even though the max vars limit is now 8,000 from 1,000, I still can not save even one change to the current menu…
    Host Gator said I had to contact you again.

    Avatar: VitalVibeSource
    VitalVibeSource
    Participant
    March 29, 2017 at 02:33

    Maybe it’s not the max vars limit… Today I was able to save other changes to the menu, however, I still cannot save the checked box to “disable navigation label”. I can do this on most of the menu items, but not the last ones…?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 29, 2017 at 16:11

    Hello,

    Let’s try to increase max vars limit to 10000 or 15000 and try again. Also, please, provide me admin panel and FTP access.

    Regards

    Avatar: VitalVibeSource
    VitalVibeSource
    Participant
    March 29, 2017 at 22:07

    Ok, I had them increase it to 15,000 and confirmed on php.info
    Still cannot check “disable navigation label” on last few labels and have it save changes.

    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 30, 2017 at 12:53

    Hello,

    I have checked the System Status and don’t see any changes of the max vars limit http://prntscr.com/eqaqt5

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 30, 2017 at 13:03

    P.S. You can use “menu-disable_titles” custom class to hide titles for the item http://prntscr.com/eqaut2

    Avatar: VitalVibeSource
    VitalVibeSource
    Participant
    March 30, 2017 at 23:00

    Thank you Olga, Hostgator said that it is raised to 15,000 and they don’t know why woocommerce is showing only 1,000…?
    I had them correct the PHP version , but they wouldn’t correct the MySQL because it’s a shared server and they don’t feel it’s stable enough, even though both wordpress and woocommerce recommend it as a minimum. :/
    Why do you think that woocommerce status is showing a different number?

    PS. Thanks for the CSS class tip!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 31, 2017 at 10:16

    Hello,

    You are welcome!
    I don’t know why WC shows the different info, I’m not WC developer, you may ask it on WC forum. Also, I’m not a server admin to check all the parameters. But I know that as a rule if values are changed then WC shows it. Max input vars limit is known issue, you can check our forum, and all our users who faced the problem with menu get the problem solved once change the limit. Why problem still persists even if your hosting provider says that he changed the limit and why WC still shows 1000 – have no idea.

    Regards

  • Viewing 12 results - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.