Slow menu editor issue related to cornerstone

Hey,
I’m having a big slowdown in the back-office menu editor. Pro is up to date (6.6.3).
I have 4 menus. Each menu has 50-ish items, the edition page loads, and then totally freezes which suggests a JS issue. It can last for several minutes…
I tracked it down to this line in your JS file:

Object.keys(Ie).forEach(t=>{oo[Ie[t]]=parseInt(t),ro+='<option value="'+Ie[t]+'">'+Ie[t]+"</option>"});

When I remove this line from /wp-content/themes/pro/cornerstone/assets/js/admin.7.6.3.js , everything works fine.

For context, our settings are:

  • max_input_vars: 5000
  • memory_limit: 512M

Could you please look into it ?
I’ll add a secure note, thank you

Hi @deciplex,

Thanks for reaching out.
I would suggest you check the following thread with the solution to the slow menu problem.

Hope it helps.
Thanks

Hi @deciplex,

Thanks for reaching out.
I have checked your website and the Menu page is loading perfectly. If you are still facing slow loading of the page, I would suggest you check the following thread with the solution to the slow menu problem.

Hope it helps.
Thanks

Thank you, the add_filter("cs_use_custom_fields_map", '__return_false'); edit makes wonders !

Hi @deciplex,

Glad that we are able to help you.

Thanks