Fatal error: Call to undefined function file_info_file_types() imedia.module on line 1085

stelios's picture
stelios
Sat, 10/24/2015 - 12:47
#1
Fatal error: Call to undefined function file_info_file_types() imedia.module on line 1085

Hi,

When I'm trying to change the thumbnail for a video or any image after uploading the file (without errors) I'm getting the following error:

Fatal error: Call to undefined function file_info_file_types() in /var/sites/e/mydomain/public_html/sites/all/modules/media/media.module on line 1085

and it doesn't change.

Any help is much appreciated.

phuonght's picture
phuonght
Sun, 10/25/2015 - 22:59

Hi,

Which version media are you using? As we can see by message error, maybe updating media from 1.x to 2.x caused error. 

Media 1.x included file entity https://www.drupal.org/project/file_entity but not media 2.x. Please take a look at upgrade documentation https://www.drupal.org/node/2481421

stelios's picture
stelios
Mon, 10/26/2015 - 05:09

Hi, it is the 7.x.1.5, haven't upgrade

phuonght's picture
phuonght
Mon, 10/26/2015 - 22:51

So could you send us your site url and admin account? So we can check problem for you.

Please send by comment form and remember to check "Private message".

eevensen's picture
eevensen
Thu, 11/12/2015 - 19:03

Hello. I also get "PHP Fatal error:  Call to undefined function file_info_file_types()" when I try to edit a node. 

I have downgraded my Media module to 7.x-1.5. Please help.

phuonght's picture
phuonght
Thu, 11/12/2015 - 22:03

Hi Eevensen,

Have you tried to take a look at upgrade documentation in comment #2? Also we can not see you purchase code of mega slider. please go to go account page (http://megadrupal.com/user/eevensen) to add your purchase code for updated files and more supports.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.