Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I upgraded my module from Media 7.x-1.4 to 7.x-1.5 and now my tab "Library" in the media browser is broken.
I debugged the code and in media_media_browser_plugin_view() I see the following code:
The problem, according to me, is that the page callback for media/browser/list does not exist anymore (= media_browser_list)...
Comments
Comment #1
SandraVdv CreditAttribution: SandraVdv commentedIt seems to me that media_browser_list is renamed to media_browser_library in v7.x-1.5?
It looks fixed in the 7.x-1.x-dev version?
Comment #2
jennypanighetti CreditAttribution: jennypanighetti commentedRelated to https://www.drupal.org/node/2089697 perhaps.
Comment #3
esbite CreditAttribution: esbite commentedIn my case this was an issue with the latest version of jQuery Update. Postponing updating that module until I have more time to debug.
Comment #4
steinmb CreditAttribution: steinmb commentedDuplicate of #2089697: JQuery update break media browser. N0 media elements are displayed in the media library tab