I just NuGet update my jquery from 1.8.3 to 3.1.1. Then I keep getting this error on every page. After looking around, it seem like jquery is getting execute multiple times, but that doesn't seem to be the case when I check in developer tool.
So, this is where it happens.
jQuery.Deferred.exceptionHook = function( error, stack ) {
// Support: IE 8 - 9 only
// Console exists when dev tools are open, which can happen at any time
if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {
window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack );
}
};
jQuery.readyException = function( error ) {
window.setTimeout( function() {
throw error;
} );
};
On line "window.console.warn...." it has warning - jQuery.Deferred exception: a(...).parents(...).andSelf is not a function
And the error is thrown on line "thrown error" - Uncaught TypeError: a(...).parents(...).andSelf is not a function
Any idea why this happens?