jQuery.Deferred exception: e.indexOf is not a function TypeError: e.indexOf is n
-
It was not related to WPACU, Solved some old deepcreated Jquery event-alisased from ultimate_VC_addons javascript file.
This error might be caused by the jQuery event-aliases like .load(), .unload() or .error() that all are deprecated since jQuery 1.8. Lookup for these aliases in your code and replace them with the .on() method instead. For example, replace the following deprecated excerpt
$(window).load(function(){...});
with the following:
$(window).on('load', function(){ ...});
`
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘jQuery.Deferred exception: e.indexOf is not a function TypeError: e.indexOf is n’ is closed to new replies.