Home › Forums › Porto Admin Template › Select2 and jQUery error
This topic contains 5 replies, has 3 voices, and was last updated by Support3 6 days, 7 hours ago. This post has been viewed 64 times
in page where I use Select2, I noticed that i get these errors in the browser console:
Unhandled exception at line 1, column 319 in https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.full.min.js
(v4.0.5 is the same that comes with the Porto theme I have).
Note: jquery is the first script i include in the page
Seeing your code I noticed that Select2 is starting before JQuery
Actually exist four calls to the js of select2 in your code before the JQuery call, delete them and see if it solves the problem.
Please, try that and let us know if you need further assistance.