This has been a problem for me for a while now. Each time I attempt to add to my main menu, the menu, when saved, crashes. It seem to be only saving half the menu and all the subitems are no longer subitems.
The way the menu should look can be seen here: http://www.pakenhambasketball.com.au/main/?attachment_id=1297 (and also at the top of that page) however when I edit it, it looks like this:- http://www.pakenhambasketball.com.au/main/?attachment_id=1298 ..
I have deactivated all plugins and removed any unused themes, but the result is the same. Currently I’m trying to add woocommerce product categories as sub menu items.
Am I doing something wrong? I’m lost for an answer.
Hi Ash
It sounds like you may be experiencing the max menu items limit. This is an issue with the default php configuration which I experienced on my own site when doing exactly what you are doing now. To fix this you will need to change a setting in your php.ini file through your hosting control panel.
Please change the ‘max_input_vars’ setting to this
Let us know if this helps
Magus
Thanks for the advice. It seems that we do not have access to the php.ini file with our current hosting package. I contacted our host provider and they claim to have added max_input_vars = 3000 to the file for us. However,
the error still happens the same :(
Even if I only REMOVE an existing menu item, the fault still happens, so it¹s not just when adding more.
Any ideas?
Hi Ash
Please install the following plugin
https://wordpress.org/plugins/wordpress-php-info/
When it is activated please navigate to Settings->Wordpress Phpinfo().
Scroll down to the core section and look for these lines
and post their values here
Thanks
Magus
Thanks Magus,
Results are as follows:-
max_input_time 900
Hi Ash
That was the only other entry which may have caused issues with this from the PHP settings. Lets rule out an issue with Vantage. Please reinstall the free Twenty Fifteen theme and switch to that. See if the problem still occurs.
Thanks
Magus