Issue Uploading Media
-
I have used Slide Anything sliders for about 6 months without issue. It’s great!
However, 2 months ago I was no longer able to upload media images to the sliders. When I click on add media, it does nothing. How do I fix this?- This topic was modified 7 years, 2 months ago by sfust.
-
Are you getting any JavaScript errors?
(Press CTRL+SHIFT+J keys to see JavaScript console)Do you have the latest version of WordPress and are all plugins up-to-date?
Simon, I am the sysadmin for sfust utilizing your plugin above.
All plugins are up to date. Slide Anything is at 2.0.13 which I am aware was supposed to fix the clash with the Envira Gallery. You can add Envira Galleries to the plugin, but not standard media.
Wordpress is updated to 4.8.1.
Javascript console:
load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:9 JQMIGRATE: Migrate is installed, version 1.4.1
load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:170 Uncaught TypeError: Cannot read property ‘id’ of undefined
at Object.d.1../controllers/audio-details.js (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:170)
at e (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:170)
at a (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:170)
at load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:170
load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:166 Uncaught TypeError: Cannot read property ‘audio’ of undefined
at n.initialize (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:166)
at n.e.View (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:101)
at n.constructor (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:104)
at n.constructor (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:168)
at n [as constructor] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:101)
at n [as constructor] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:101)
at n [as constructor] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:101)
at new n (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:101)
at Object.wp.media (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:105)
at Object.add (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,jquery-ui-slider,&load[]=jquery-ui-draggable,jquery-touch-punch,iris,wp-color-picker,editor,shortcode,backbone,wp-util,wp-backbone,media-models,plupload,&load[]=wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view&ver=4.8.1:169)
load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-position,jquery-ui-menu,wp-a11y,jq&load[]=uery-ui-autocomplete,tags-suggest,tags-box,word-count,post,svg-painter,heartbeat,wp-auth-check,jquery-ui-accordion,jquery-ui-tab&load[]=s,jquery-ui-droppable,jquery-ui-resizable,jquery-ui-button,jquery-ui-dialog,jquery-ui-tooltip,jquery-ui-spinner&ver=4.8.1:2 [Violation] ‘setTimeout’ handler took 59ms
[Violation] Forced reflow while executing JavaScript took 51msI will be standing by to assist with troubleshooting as needed.
Ok, this issue is a newbie.
I would suggest that this is possibly a clash with another plugin or theme. Try disabling other plugins to try determine which plugin SA is clashing with.
After this, try activating another theme (you can always switch back) to see if its a theme related issue.Also:
– view source and make sure jquery is loaded
– also make sure you clear you cache if using a caching plugin
– disable javascript minification
(actually a lot of things it can be – did you do any development work about 2 months ago when this issue started?)Your plugin is clashing with the “Forget about Shortcodes” plugin.
https://www.ads-software.com/plugins/forget-about-shortcode-buttons/
JQuery is loaded.
I turned caching off, deleted the cache.
I disabled Javascript minification.We have done no development work other than updating plugins and wordpress, along with standard updates and maintenance to the server.
I am only able to get the plugin to work correctly if I disabled the “Forget about Shortcodes” plugin.
Can you ascertain the reason for the clash and release an update to correct it?
Thanks.
Simon, do we have any update on this issue? The last response was almost two weeks ago. We still aren’t able to utilize both plugins.
Yes, the ‘Forget About Shortcode Buttons’ (FASC) plugin behaves badly with a few plugins it seems – see this topic:
https://www.ads-software.com/support/topic/fasc-breaks-js-in-several-other-plugins/The, problem is the FASC loads it resources (JavaScript/CSS) on every page within the WP Dashboard. And it appears that the FASC jQuery clashes with the SA jQuery (and other plugins).
- The topic ‘Issue Uploading Media’ is closed to new replies.