Home › Forums › WoodMart support forum › ERROR 500 when update a menu
ERROR 500 when update a menu
- This topic has 8 replies, 2 voices, and was last updated 5 years, 1 month ago by
Artem Temos.
-
AuthorPosts
-
October 6, 2020 at 4:20 am #231107
DiegoEngelParticipantHi guys…
I’m trying to set a menu with my tree of categories, but when I set the 37º itens and try to update I get an error 500. When I do it with 36 intes… the update works perfectly.
I have talked with my server support and they told me that everthing is normal on server side. Could help me with it please?
October 6, 2020 at 4:36 am #231110
DiegoEngelParticipantJust to give you more information.
I tried the same situation in a localhost envairoment and I got this:
variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
October 6, 2020 at 6:04 am #231125
Artem TemosKeymasterHello,
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Regards
October 6, 2020 at 2:04 pm #231284
DiegoEngelParticipantHi..
Checked using twenty twenty wordpress theme and the update runs perfectly… no errorsOctober 6, 2020 at 2:10 pm #231290
Artem TemosKeymasterPlease, keep the default theme and provide us a step by step instruction so we can reproduce this.
Thank you
October 6, 2020 at 2:32 pm #231292
DiegoEngelParticipantPass by pass:
– Open aparência >> menus (is a brazilian website)
– Just add any post category (Paraná for example)
– Save…
after some seconds you will get a error 500If you do the same process with Twenty Twenty theme… everything works perfectly.
October 6, 2020 at 2:42 pm #231297
Artem TemosKeymasterYes, it is a problem with PHP max input vars limit. It simply can’t process a large amount of data when you save the menu. Try to contact your hosting provider and ask to increase this parameter. You can check its value in WooCommerce -> System status.
October 6, 2020 at 3:22 pm #231306
DiegoEngelParticipantBut why woodmart use more vars then other themes in the exactly same process? Is it wouldn’t a performance issue of your theme?
October 7, 2020 at 6:04 am #231387
Artem TemosKeymasterIf you will check the menu you will see a lot of custom fields for our menu. That is why it requires more data to be stored at once. It is not something related to the website performance.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register
