After media module update i have problem with file_uri_to_object() in media_youtube.theme.inc

Update from 1.6 to 2.0

Error: Call to undefined function file_uri_to_object() in media_vimeo_preprocess_media_vimeo_video() (line 19 of /sites/all/modules/contrib/media_vimeo/themes/media_vimeo.theme.inc).

CommentFileSizeAuthor
#2 file-uri-to-object-revert.patch1.73 KBdziabodo

Comments

dziabodo created an issue. See original summary.

dziabodo’s picture

StatusFileSize
new1.73 KB

My solution propose

steinmb’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Status: Active » Needs review
MaskOta’s picture

Status: Needs review » Closed (works as designed)

When updating media from 1.x to 2.x you have to download and enable the file_entity module which then contains this function.

Please consult this thread: https://www.drupal.org/node/2082037