Answer the question
In order to leave comments, you need to log in
How to solve cannot call methods on dialog prior to initialization error?
When the button is clicked, an error appears:
Error: cannot call methods on dialog prior to initialization; attempted to call method 'open'
jquery.js:2:1814
The site is implemented on Wordpress. When you click on one button, an error occurs. jquery version is v1.12.4. Maybe it has something to do with the version of jquery? Or with the fact that the plugin has not been updated
Answer the question
In order to leave comments, you need to log in
Try updating the plugin first. Most likely an error in the plugin script, rather than in jquery
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question