The TypeError: this.each when wp.media.open() after using popper.js for bootstrap 4
I have fixed the problem through correction of the jQuery code. This is an example jQuery( document ).ready(function($) { // Instantiates the variable that holds the media library frame. var file_frame, meta_image_preview, meta_image; $(‘.image-upload’).on(‘click’, function( event ){ meta_image_preview = $(this).parent().parent().children(‘.image-preview’); meta_image = $(this).parent().children(‘.meta-image’); event.preventDefault(); // If the media frame already exists, reopen it. if ( … Read more