Uncaught TypeError: e.indexOf is not a function – v2
-
Greetings friends.
The “Like” button is not activated, it remains in loading mode. And I don’t know how to fix it in my newsmagz (Free) template.
It gives me this error:
Uncaught TypeError: e.indexOf is not a function
And the “I like” does not tell me anything, but it remains totally unloaded.OK, If I use Jquery 3.3.1, the function of LIKES, now shown. (The explain is: The load method was obsolete in version 1.8 and removed in version 3 and for this reason it will no longer work for you in 3.3.1, use the following code (as mentioned)
Ok. How can I modify _inc / build / QueueHandler, to correctly load the function call: $ (window) .on (“load”, function () {});
Can you help me?
Or I could suggest adding an If else, if Jquery-3.3.1.min.js is active, execute this other LOAD (LIKES) where $ (window) .on (“load”, function () {} will appear );Could you take a look, to repair it in the FREE version of this plugin? …
More info
load jQuery
jetpackLoadLikeWidgetIframe https://masquesaber.es/wp-content/plugins/jetpack/_inc/build/likes/queuehandler.min.js?ver=9.1:3
JetpackLikesWidgetQueueHandler https://masquesaber.es/wp-content/plugins/jetpack/_inc/build/likes/queuehandler.min.js?ver=9.1:3$(window).on(“load”,function(){});
I have verified that the theme does not have the problem. It is not a problem of the subject, because I have checked it without loading JQuery-3.3.1. And the module loads, but as Jquery says. If you don’t call the LOAD function correctly it won’t work. And in the LIKES code, it is not called correctly as Jquery indicates.Examples:
Newsmagz theme free
https://es.www.ads-software.com/themes/newsmagz/Thank you very much, and I hope you keep improving. JM from Spain.
The page I need help with: [log in to see the link]
- The topic ‘Uncaught TypeError: e.indexOf is not a function – v2’ is closed to new replies.