JS Problems in WordPress (myinit is not defined)

I have this errors in WordPress:

Uncaught ReferenceError: myinit is not defined at

I can see with inspect several added code to javascripts like:

   ..../scripts.js' async onload='myinit()'></script>


....tools.min.js' async onload='myinit()' defer='defer'></script>

I have deleted the cache plug-in but there is no solution.
When I first open the site with incognito, some hover effects and slider revolution don’t work, but after I make several refreshes It looks perfect (even I have still the errors)

Is there any way to delete all the onload='myinit()?

Read more here: JS Problems in WordPress (myinit is not defined)

Leave a Reply

Your email address will not be published. Required fields are marked *