Forum Replies Created

Viewing 1 replies (of 1 total)
  • I have been experiencing the same issue but after analysing the problem, I saw that the metabox.js file (which is in the ../inc/scripts folder) has the “all” type parameter within the library object.

    I changed the following from lines 112 – 121:

    this.mediaFrame = wp.media({
    title: ‘Add Media Attachments’, button: {
    text: ‘Attach to Post’
    }, multiple: true,
    library: {
    type: ‘all’ –> error
    } });

    Replaced with:

    this.mediaFrame = wp.media({
    title: ‘Add Media Attachments’,
    button: {
    text: ‘Attach to Post’
    },
    multiple: true
    });

    This solution completely solved my problem.

Viewing 1 replies (of 1 total)