Add Media button not working
-
I just added a post to both my blogs and it was fine. I was working on a second post and when I try to add media, and click on the add media button, it won’t work. It just sits there. Nothing I try works. I didn’t add a new a new plugin.
I tried this and it didn’t work…
https://www.wpbeginner.com/wp-tutorials/how-to-fix-add-media-button-not-working-in-wordpress/Help (?)
The page I need help with: [log in to see the link]
-
Are you familiar with the browser console? If you are using Chrome, press Ctrl+Shift+I on your keyboard and it will show up. If the Console tab is not highlighted when it opens, select the Console tab.
Then, on the page you are having the issue on, when you click on Add Media does anything show up in the Console section?
I have a few errors showing up when I pull up the console tab. But before I paste that here, no, I don’t see anything showing up there when I click on “Add media”. The errors just stay in pink:
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 (https://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 (https://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:3wait….when I clicked on something else, then clicked on “add media” again, it changed to this: (screenshots merged together)
https://s32.photobucket.com/user/sincerelysapphire/media/browser%20console%202_zpsdcs6eyxe.jpg.html
- The topic ‘Add Media button not working’ is closed to new replies.