Select 2 library conflict
-
The search page stops working because of conflicts with Select 2. I’m getting the error:
Uncaught Error: No select2/compat/initSelection at j (select2.min.js?ver=5.8.3:1:1545) at o (select2.min.js?ver=5.8.3:1:2868) at select2.min.js?ver=5.8.3:1:1335 at D.apply (select2.min.js?ver=5.8.3:1:50492) at new e (select2.min.js?ver=5.8.3:1:53624) at new e (select2.min.js?ver=5.8.3:1:55677) at HTMLSelectElement.<anonymous> (select2.min.js?ver=5.8.3:1:64734) at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload&ver=5.8.3:2:3003) at s.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,moxiejs,plupload&ver=5.8.3:2:1481) at s.fn.init.a.fn.select2 (select2.min.js?ver=5.8.3:1:64694)In our case it appears that both Freshdesk & PublishPress also use select 2 and it’s causing a conflict as a result.
It seems as if you’ve known this has been a bug for over a year:
https://github.com/bonny/WordPress-Simple-History/issues/223
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Select 2 library conflict’ is closed to new replies.