Skip Navigation

[Resolved] File upload isn't launching a dialog box; just reloads page

This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 2 replies, has 2 voices.

Last updated by Beda 5 years, 11 months ago.

Assisted by: Beda.

Author
Posts
#1164235
Capture.PNG

When I click the file upload button, it just reloads the page. I'm seeing this error in the console:

VM3033 post.php:3213 Uncaught TypeError: Cannot read property 'addFilter' of undefined
at handleFeaturedImagePanel (VM3033 post.php:3213)
at HTMLDocument.<anonymous> (VM3033 post.php:3229)
at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:2)
at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:2)
at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:2)
handleFeaturedImagePanel @ VM3033 post.php:3213
(anonymous) @ VM3033 post.php:3229
i @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:2
fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:2
ready @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:2
K @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:2
load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:133 Uncaught TypeError: Cannot read property 'bs_component_show_hide_button' of undefined
at QTags.i.getButton (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:133)
at ToolsetCommon.BootstrapCssComponentsQuickTags.self.add_bootstrap_components_buttons (toolset-bs-component-buttons.js:122)
at toolset-bs-component-buttons.js:21
at d (toolset-event-manager.min.js:1)
at Object.j [as doAction] (toolset-event-manager.min.js:1)
at HTMLDivElement.<anonymous> (toolset-bs-component-events.js:213)
at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:2)
at toolset-bs-component-events.js:209
at load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-&load[]=ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-sortable,jquery-ui-tabs,suggest,postbox,wp-a11y,underscore,backbone,quic&load[]=ktags,wplink,shortcode,wp-util,moxiejs,plupload&ver=4.9.8:129

#1164663

I tried both with Views and Types active, with and without the Gutenberg editor, and I can upload File Field content just fine, but I also see 2 other users reporting this, so I must miss a crucial detail.

To expedite the solution to this, please can you help me by following these steps?

1. Confirm on a staging site or after a backup that the issue happens with just Toolset and Theme Twenty(xx)
2. Make sure to update WordPress first as well, I see you still use the outdated version.
3. If it persists, create a Duplicate with https://toolset.com/faq/provide-supporters-copy-site/ and send that to me

==> If you cannot for some reason make those tests, you can just send the Duplicate, however, please ensure it is deployable and you mention the steps precisely to replicate this issue

Thank you for the cooperation!

#1165369

We had no updates of Toolset, but may be any other software?

If the issue is not happening anymore we can close the topic

Please let me know if not.