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.jsAnd 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
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.