rsanchez / entry_type

A dropdown fieldtype for ExpressionEngine 3 that shows/hides other fields on the publish page.
http://devot-ee.com/add-ons/entry-type/
47 stars 21 forks source link

Crashing with too many fields #50

Open jeremydouglas opened 7 years ago

jeremydouglas commented 7 years ago

Hi Rob,

Thanks for this add-on, it's been very useful to me for the last couple years. I have an site where I have over 250 custom fields and 100 different Entry Type settings in a single channel. This site is still on EE2 and it seems it's the add-on has been pushed beyond it's limits. When adding a new entry type and submitting it, only a few of the entry type settings will be submitted.

Have you run into an instance with this many custom fields? I can try upgrading to EE3, but are there any workarounds that I could do?

Thanks if you have any tips!

rsanchez commented 7 years ago

Sounds like you are running into a limit in your PHP/webserver configuration. Like PHP max_input_vars or Suhosin post.max.vars.

jeremydouglas commented 7 years ago

Thanks @rsanchez! max_input_vars is set to 5000. I can try higher and see if that resolves it.

junior1q94 commented 6 years ago

I was experiencing the same issue and in my case tested changing the max_input_vars to 2000 from a value of 1000. I can confirm that now It works as expected!

FYI: @jeremydouglas @rsanchez