Hello, I got this error after migration from XAMPP localhost to my live server.

Fatal error: Call to undefined function file_uri_to_object() in sites/all/modules/media_youtube/includes/themes/media_youtube.theme.inc on line 20

On line 20 is:

19  // Make the file object available.
20 $file_object = file_uri_to_object($variables['uri']);
21

Site is Video RSS agregator like here http://drupal.org/node/1358558

Comments

That's weird. file_uri_to_object() is a File Entity function -- can you check that file entity is installed and working well on your site?

It's on and no error in error log, if you means this.

Can you try calling file_uri_to_object() in a template in your site? Off the top of my head this could be a module loading order problem, maybe, or something very specific to your site. I can't reproduce on my clean install.

Issue summary:View changes

Log message

To me has been the same and it was a problem updating the media, you have to delete the folder "file_entity" from within.