wpmetabox / meta-box

The best plugin for WordPress custom fields and custom meta boxes
https://metabox.io
1.19k stars 423 forks source link

4.10 broke multiple upload #1049

Closed netm closed 7 years ago

netm commented 7 years ago

Hi there,

When updating to latest our multiple uploader broke with js error:

Uncaught TypeError: self.controller.addItems is not a function

Will try rolling back to pre 4.10

love meta-box btw

rilwis commented 7 years ago

This problem is the same as #1047 and was fixed. New version will be released today!

netm commented 7 years ago

Works perfectly! You are totally awesome :-)

TiagoGouvea commented 7 years ago

I still having on 4.10.1 version.

file-upload.js:110 Uncaught TypeError: self.controller.addItems is not a function
    at file-upload.js:110
    at Function.m.each.m.forEach (load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,suggest,wp-ajax-respons…:54)
    at o.Uploader.<anonymous> (file-upload.js:75)
    at o.Uploader.dispatchEvent (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:83)
    at o.Uploader.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:67)
    at load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:83
    at load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:67

What should I do?

TiagoGouvea commented 7 years ago

Sorry for this. It's a server HTML cache... flushing it solved my problem. Thanks @funkedgeek !