I have this errors in WordPress:

Uncaught ReferenceError: myinit is not defined at
HTMLScriptElement.onload

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

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

or

....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)


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: