Hey Support:
My client is using Social Care theme. I updated the WordPress to the latest version and notice that the home page image slider stopped working. I am seeing the following error message in the Chrome developer tool:
jquery.min.js?ver=3.5.1:2 Uncaught TypeError: e.indexOf is not a function
at S.fn.init.S.fn.load (jquery.min.js?ver=3.5.1:2)
at (index):27
S.fn.load @ jquery.min.js?ver=3.5.1:2
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(){ ...});
Please assist ASAP.
Thanks,
Phil