i have a curious problem with my yii2 software. I use on different sites kartik select2 widget oder kartik gridview. On my local machine all works fine. But on the production machine i got always javascript / jquery errors like this:
jQuery.Deferred exception: $(...).find(...).size is not a function TypeError: $(...).find(...).size is not a function
or
Uncaught TypeError: $(...).find(...).size is not a function
On both machines i have doing composer update without errors. What can i do?