The TypeError: this.each when wp.media.open() after using popper.js for bootstrap 4
Question
I’m creating page metabox layout through bootsrap 4 framework. I added to admin enqueue the new js files: jquery-3.0.0, jquery-migrate-3.0.1 as well as popper-1.12.3 and bootstrap. Also the custom field was created in metabox. I get a image link used admin media modal frame. I mean the frame used jQuery to get wp.media object, but after additing popper.js the wp.media.open() function got the Uncaught TypeError: this.each is not a function in some files.
May someone fix this issue?
0
errors
3 years
2020-03-27T08:51:30-05:00
2020-03-27T08:51:30-05:00 0 Answers
126 views
0
Leave an answer