metabox.io media-grid.min.js not loading on frontend form

Support MB Frontend Submission metabox.io media-grid.min.js not loading on frontend formResolved

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #14508
    baraanajjar@gmail.com[email protected]
    Participant

    hi i am using image upload on frontend form when i click on edit the media-grid.min.js not load properly showing following error
    TypeError: this.controller.browserView is undefined
    ../wp-include/js/media-grid.min.js?ver=4.9.7:1

    #14518
    Anh TranAnh Tran
    Keymaster

    Thanks for letting me know. Let me check it.

    #14535
    Anh TranAnh Tran
    Keymaster

    I've just checked the field and I don't see the problem.

    Does the user have the privilege to upload?

    #14542
    baraanajjar@gmail.com[email protected]
    Participant

    hi I have not added any setting for upload privilege .how to enable thanks

    #14545
    baraanajjar@gmail.com[email protected]
    Participant

    i added setting same problem

    function mb_allow_subscriber_uploads() {
        if ( is_admin() ) {
            return;
        }
    
        // Replace 'subscriber' with the required role to update, can also be contributor.
        $subscriber = get_role( 'subscriber' );
        $subscriber->add_cap( 'upload_files' );
        
        
        
    }
    add_action( 'init', 'mb_allow_subscriber_uploads' );
    #14585
    baraanajjar@gmail.com[email protected]
    Participant

    hi please check the screen shot css is not working
    css problem

    #14610
    Anh TranAnh Tran
    Keymaster

    I'm afraid this is a theme issue. Your theme might overwrite/change the styles of WordPress popup. This can be resolved only by checking the CSS and rewrite that in theme.

    #14628
    baraanajjar@gmail.com[email protected]
    Participant

    hi Anh tran
    i checked its not theme problem i disabled all css and js of the theme but the popup still same is it WordPress include files not loading..?

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.