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.
media_youtube was just set to update on an existing site .. the update failed due to undefined file_type_save() function. In tracking that down, it appears to be form file_entity in media 7.x-2.x, while my site has 7.x-1.2. That probably just needs the version set in the module dependencies.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1927290-media_youtube-dependancy-1.patch | 393 bytes | rickmanelius |
Comments
Comment #1
rickmanelius CreditAttribution: rickmanelius commentedPatch attached
Comment #2
Dave Reidfile_entity is included with Media 1.x, so I'm not sure why this would be an improvement or require 2.x. Note that this is also fixed with #1949520: Remove media_youtube_update_7202() and media_youtube_file_default_types_alter()
Comment #3
Devin Carlson CreditAttribution: Devin Carlson commentedI agree with #2; requiring File entity would be redundant.
The issue outlined in the OP is caused by using File entity 2.x with Media 1.x. You should always use the same version of Media and File entity.