• colintdf

    (@colintdf)


    I’m getting an error on WordPress in subsites of a multi-site installation. The main blog is fine but on the subsites if I try and upload media with the Add Media button or Set Featured Image link I get the following javascript error after selecting the file to upload:

    plupload.full.min.js?ver=2.1.8:13 Uncaught TypeError: Cannot read property ‘2’ of null
    at Object.h [as parseSize] (plupload.full.min.js?ver=2.1.8:13)
    at o.Uploader.<anonymous> (plupload.full.min.js?ver=2.1.8:29)
    at Array.<anonymous> (plupload.full.min.js?ver=2.1.8:29)
    at i (plupload.full.min.js?ver=2.1.8:13)
    at plupload.full.min.js?ver=2.1.8:13
    at plupload.full.min.js?ver=2.1.8:29
    at o.Uploader.<anonymous> (plupload.full.min.js?ver=2.1.8:29)
    at Array.<anonymous> (plupload.full.min.js?ver=2.1.8:29)
    at i (plupload.full.min.js?ver=2.1.8:13)
    at plupload.full.min.js?ver=2.1.8:13
    
    The plan was to use WP as a headless CMS. I’ve tried switching themes and have no plugins installed.

Viewing 1 replies (of 1 total)
  • Thread Starter colintdf

    (@colintdf)

    I CAN upload via the main Media > Add Media link but NOT when creating a new post (which is when I want to be able to do it!)

Viewing 1 replies (of 1 total)

The topic ‘Javascript error in media upload popup on multisite’ is closed to new replies.