Classic Editor: “Add Media” button doesn’t work
-
This webpage is for a seniors’ golf group and I want to spare them the hassle of having to learn the new editor, so I want to keep with the Classic Editor.
However: The “Add Media” button does not work. When I click it, nothing happens. The Media library overview appears empty as well, but the website users have uploaded lots of pictures through the editor for use in posts already over the years.
Troubleshooting so far, after googling a bit and reading in this forum a bit:
– tried current Chrome and Firefox
– disabled all Plugins
– switched to Twenty Nineteen theme
– tried adding the following line to wp-config:
define('CONCATENATE_SCRIPTS', false );None of these measures had any visible effect on the problem.
Error message in Chrome console as follows when clicking on “Add Media”:
Uncaught TypeError: Cannot read property 'states' of undefined at n._createStates (media-views.min.js?ver=5.0.3:1) at n.initialize (media-views.min.js?ver=5.0.3:1) at n.initialize (media-views.min.js?ver=5.0.3:1) at n.initialize (media-views.min.js?ver=5.0.3:1) at n.initialize (media-views.min.js?ver=5.0.3:1) at n.e.View (backbone.min.js?ver=1.2.3:1) at n.constructor (wp-backbone.min.js?ver=5.0.3:1) at n.constructor (media-views.min.js?ver=5.0.3:1) at n [as constructor] (backbone.min.js?ver=1.2.3:1) at n [as constructor] (backbone.min.js?ver=1.2.3:1)Error message in Chrome console as follows when viewing Media Library:
Uncaught TypeError: Cannot read property 'uploader' of undefined at n.initialize (media-grid.min.js?ver=5.0.3:1) at n.e.View (backbone.min.js?ver=1.2.3:1) at n.constructor (wp-backbone.min.js?ver=5.0.3:1) at n.constructor (media-views.min.js?ver=5.0.3:1) at n [as constructor] (backbone.min.js?ver=1.2.3:1) at n [as constructor] (backbone.min.js?ver=1.2.3:1) at new n (backbone.min.js?ver=1.2.3:1) at Object.wp.media (media-models.min.js?ver=5.0.3:1) at HTMLDocument.<anonymous> (media.min.js?ver=5.0.3:1) at i (jquery.js?ver=1.12.4:2)Appreciate any help and suggestions! Thank you in advance!
The topic ‘Classic Editor: “Add Media” button doesn’t work’ is closed to new replies.