Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi, I got a problem on uploading photos, it always shows on a pop up Fatal error: Call to undefined function file_info_file_types() in /home/--------/public_html/sites/all/modules/media/media.module on line 1084, and the only thing i can to upload an image is to upload at library tab, but it says error getting media.
Can anyone help me to fix this up. Thanks in advance guys.
Comments
Comment #1
saltednutHi - can you try updating your version of File Entity, the Media module and Media Gallery to the latest dev versions and let us know if this is still an issue?
Comment #2
organicwire CreditAttribution: organicwire commentedConfirming this issue. I freshly installed media 7.x-1.4. After uploading an image, i get the following error. However, the image is uploaded to the server.
Using media 7.x-2.0-alpha3, uploading works fine.
Comment #3
marco.b CreditAttribution: marco.b commentedI've had (maybe) the same problem with media 1.x because it has file_entity itself as a submodule and i used the https://www.drupal.org/project/file_entity module because it was required by other modules.
The solution was to migrate media to the 2.x-dev branch.
Comment #4
Moloc CreditAttribution: Moloc commentedFrom the file_entity project page:
media 1.x has its own file_entity bundled and works only with that version.
media 2.x needs the file_entity 2.x version.
You cannot mix those versions, as they are incompatible.