wpmetabox / meta-box

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

problem with version 4.10 #1047

Closed SvilenStoianov closed 7 years ago

SvilenStoianov commented 7 years ago

Hello. I recently update my wordpress installation to version 4.7.1, and Metabox plugin to version 4.10

I use plupload image component. When I try to upload image, a js error occure: TypeError: self.controller.addItems is not a function And no image was added to gallery.

After downgrade to 4.9.8 problem is solved.

I use standard twenty twelve theme and only one more plugin - for multi language content - Polylang

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?

funkatron82 commented 7 years ago

Shift+ F5 to hard reset the page. sounds like the browser isn't pulling up the new file

TiagoGouvea commented 7 years ago

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