entry_type icon indicating copy to clipboard operation
entry_type copied to clipboard

"EntryType is not defined" error

Open ejaedesign opened this issue 7 years ago • 2 comments

Hi Rob,

Just installed and tried out the EE4 version. It installed without a hitch but the Entry Type field is not hiding the others:

ee4_entry_type_bug

Looks like I'm getting a jQuery error:

ee4_entry_type_jquery_error

Currently running EE 4.1.2 on a Bootstrap 4 based site.

Thanks a bunch!

ejaedesign avatar Mar 23 '18 19:03 ejaedesign

I'm getting the same issue. We've upgraded EE3 sites using Entry Type to EE4 and everything worked fine, but starting from EE4 I can't seem to get past these JS errors. Any help would be appreciated.

pyrobob83 avatar Oct 02 '18 16:10 pyrobob83

After further investigation, this appears to only happen when the publish form includes certain types of fields. The two fields I can get to replicate the console errors in the CP are Fluid Fields and a Grid field where one column inside the Grid is using Boldminded's 'Simple Grids' field. If either of those fields are present in the Publish form, I get console errors and Entry Type doesn't work.

Though along with the 'EntryType is not defined' error, I also get this one: 'TypeError: $(...).find(...).attr(...) is undefined'

Any ideas Rob? Is Entry Type compatible with Fluid Fields?

pyrobob83 avatar Oct 09 '18 14:10 pyrobob83