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.
In the upload tab of media browser/file add page, I get the following notice:
Use of undefined constant FILE_DEFAULT_ALLOWED_EXTENSIONS - assumed 'FILE_DEFAULT_ALLOWED_EXTENSIONS' in media_form_file_entity_add_upload_alter() (line 600)
Comments
Comment #1
Dave ReidIf you update Media make sure you also update the File entity module to the latest 7.x-2.x.
Comment #2
thinkdrupal CreditAttribution: thinkdrupal commentedI used the latested ----> file_entity 7.x-2.x-dev and file_entity 7.x-2.0-unstable5 and still have the same issue.
Comment #3
alltooeasy CreditAttribution: alltooeasy commentedDid you find a solution? Have also tried both file_entity 7.x-2.x-dev and file_entity 7.x-2.0-unstable5 along with corresponding Media versions (and version up/down). Still no luck.
Any ideas?
Comment #4
shadysamir CreditAttribution: shadysamir commentedMy problem was solved by upgrading to file entity 2.x dev
Comment #5
alltooeasy CreditAttribution: alltooeasy commentedWill try this again and see what happens. That was my original approach. Will try the upgraded modules again.
Comment #6
jherencia CreditAttribution: jherencia commentedThat happened to me too and updating File Entity to dev fixed the problem.