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.
Getting this Fatal error with the most recent version of the media module.
Fatal error: Call to undefined function media_variable_get() in /sites/all/modules/media_ustream/includes/MediaInternetUStreamHandler.inc on line 37
Comment | File | Size | Author |
---|---|---|---|
#3 | replace-media-get-variables-2141611-3.patch | 3.86 KB | travelertt |
Comments
Comment #1
deggertsen CreditAttribution: deggertsen commentedSeems this might actually be a problem with CKeditor integration. See #1504696: Integration with CKEditor module.
Closing this issue.
Comment #2
travelerttThe media module maintainers have decided to get rid of media_variable_get and media_variable_set (includes/media.variables.inc) and use variable_get() and variable_set() again. This current version of the module is no longer supported by the latest Media 7.x-2.x release.
All occurrences of media_variable_get and media_variable_set will Fatal Error when called with the current Media 7.x-2.x-dev release.
Comment #3
travelerttI created a patch that will replaced the
media_get_variable()
ininc/MediaInternetUStreamHandler.inc
withvariable_get()
with the Media variable namespace ("media__"
).This new Media variable namespacing is discussed in Clean up and remove includes/media.variables.inc (1406948) and was added to Media 2.x-dev in September 2013.
Comment #4
Rob C CreditAttribution: Rob C commentedThanks travelertt for the patch see here for the commit.
Comment #5
Rob C CreditAttribution: Rob C commented