How to Fix Add Media Button Not Working Issue in WordPress


How to Fix Add Media Button Not Working in WordPress
Dahlia Rigby

Thanks! I was the one who asked it, But the thing is that I have been testing it in a micro blogging theme (P2) and wanted to remove footer credits, so after I tried plugins, I removed code after which the upload problem occurred on the FRONT END. Now this link is not for advertising purposes, but I want you to have a look here: I put back the code but even now it doesn’t do as it should.

How To Fix Add Media Button Not Working In WP
Hortense Schiller

Sometimes happens that the ‘Add Media’ button on WordPress site has suddenly stopped working. This problem does not display any error or warning which leaves users clueless about why their ‘Add Media’ button is not working. In this article, we will show you how to easily fix the ‘Add Media’ button not working issue in WordPress.

How To Fix WordPress Add Media Button Not Working
Oscar Nash

Freddy is a WordPress theme reviewer at WP Theme Raves, a published WordPress blogger, web dev and founder of Vista Media Enterprises – an online business dedicated to WordPress users looking to boost conversion rates through content marketing. He shares his wealth of experience here.

WordPress.org
Anderson Crutcher

JQMIGRATE: Migrate is installed, load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:8
version 1.4.1
73.6df36390bab8dded22f6.js:19 Query variable sumotoken not found
73.6df36390bab8dded22f6.js:19 Query variable sumopath not found
70.6df36390bab8dded22f6.js:43 You are currently using minified code outside of NODE_ENV === ‘production’. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.
(anonymous) @ 70.6df36390bab8dded22f6.js:43
29.6df36390bab8dded22f6.js:21 You are currently using minified code outside of NODE_ENV === ‘production’. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.
n.default @ 29.6df36390bab8dded22f6.js:21
73.6df36390bab8dded22f6.js:1 Starting module: control/app
73.6df36390bab8dded22f6.js:1 CREATING SANDBOX FOR control/app/#control/app
73.6df36390bab8dded22f6.js:1 CREATING SANDBOX FOR help/widget/#help/widget
73.6df36390bab8dded22f6.js:1 CREATING SANDBOX FOR services/index/#services/index
13.6df36390bab8dded22f6.js:21 style buffer load resize orientationchange…
13.6df36390bab8dded22f6.js:21 style buffer update…
2media-views.min.js?ver=5.1:1 Uncaught TypeError: this.activateMode is not a function
at media-views.min.js?ver=5.1:1
at Gt (9.6df36390bab8dded22f6.js:9)
at Function.Zo (9.6df36390bab8dded22f6.js:9)
at N.d._createModes (media-views.min.js?ver=5.1:1)
at N.d.initialize (media-views.min.js?ver=5.1:1)
at N.d.initialize (media-views.min.js?ver=5.1:1)
at N.d.initialize (media-views.min.js?ver=5.1:1)
at N.d.initialize (media-views.min.js?ver=5.1:1)
at N.d.b.View (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:67)
at N.d.constructor (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:69)
13.6df36390bab8dded22f6.js:21 style buffer load resize orientationchange…
13.6df36390bab8dded22f6.js:21 style buffer update…
2media-views.min.js?ver=5.1:1 Uncaught TypeError: this.activateMode is not a function
at media-views.min.js?ver=5.1:1
at Gt (9.6df36390bab8dded22f6.js:9)
at Function.Zo (9.6df36390bab8dded22f6.js:9)
at N.d._createModes (media-views.min.js?ver=5.1:1)
at N.d.initialize (media-views.min.js?ver=5.1:1)
at N.d.initialize (media-views.min.js?ver=5.1:1)
at N.d.initialize (media-views.min.js?ver=5.1:1)
at N.d.initialize (media-views.min.js?ver=5.1:1)
at N.d.b.View (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:67)
at N.d.constructor (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:69)
(anonymous) @ media-views.min.js?ver=5.1:1
Gt @ 9.6df36390bab8dded22f6.js:9
Zo @ 9.6df36390bab8dded22f6.js:9
_createModes @ media-views.min.js?ver=5.1:1
initialize @ media-views.min.js?ver=5.1:1
initialize @ media-views.min.js?ver=5.1:1
initialize @ media-views.min.js?ver=5.1:1
initialize @ media-views.min.js?ver=5.1:1
b.View @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:67
constructor @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:69
constructor @ media-views.min.js?ver=5.1:1
N.d @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:67
N.d @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:67
N.d @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:67
N.d @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:67
wp.media @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:70
add @ media-editor.min.js?ver=5.1:1
open @ media-editor.min.js?ver=5.1:1
(anonymous) @ media-editor.min.js?ver=5.1:1
dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:3
r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,quicktags,jquery-ui-sortable&load[]=,underscore,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=5.1:3

Be the first to comment

Leave a Reply

Your email address will not be published.


*