• Resolved Rookie

    (@alriksson)


    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(){ ...});`

    • This topic was modified 3 years, 9 months ago by Rookie.
    • This topic was modified 3 years, 9 months ago by Rookie.
    • This topic was modified 3 years, 9 months ago by Rookie.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @alriksson I had a suspicion that it might not be an issue related to the plugin as things like that were solved months ago so no more deprecated jQuery code is triggering by the plugin’s JS which is loaded for the functionality of the plugin and only triggering when the admin is logged-in, thus errors like this would not have even shown for the guest visitors ??

    Thread Starter Rookie

    (@alriksson)

    Yes correct, I was too quick on blaming your plugin. It was other deprecated jQuery code in another plugin.

    • This reply was modified 3 years, 9 months ago by Rookie.
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.