Support

Account

Home Forums ACF PRO TypeError: Attempted to assign to readonly property. Reply To: TypeError: Attempted to assign to readonly property.

  • hello same issue conflict with one plugin Event Calendar from Modern Tribe
    Maybe you got same conflict with another plugin, many used select2
    Hope it can help for investigation
    Regards
    Dimitri

    Answer from Modern tribe

    Sorry for the trouble here!

    My hunch is that both plugins are calling the same select2 library from two different sources and those two calls are conflicts with one another. The Events Calendar uses select2 across most of the plugin so it’s definitely necessary, but I wonder if you could try dequeuing ACF’s version when events are present.

    The calendar’s copy of the script is located here:
    /the-events-calendar/vendor/select2/select2.min.js

    And it’s corresponding handle is ‘select2’.

    Sorry again for the conflict here, but I hope this at least helps get a resolution started so both plugins work smoothly together.

    Thanks,
    Geoff