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.
Fatal error: Call to undefined function media_variable_default() in ... /media.install on line 104
Comments
Comment #1
shunting CreditAttribution: shunting commentedI fixed this with:
require_once ( dirname(__FILE__) . '/includes/media.variables.inc');
at 103, but I don't know whether includes in a de-install are good practice...
Comment #2
Dave ReidThis has *already* been fixed with 7.x-1.x-dev.
Comment #3
shunting CreditAttribution: shunting commentedThanks. I did search the issues list on "media_variable_default" and didn't see a patch. Possibly I missed it?
Comment #4
rains CreditAttribution: rains commentedMedia 7.x-1.1 remains greyed out, in /admin/modules
even though: Required: Drupal (Fields pending deletion), Media Internet Sources (disabled), Media: YouTube (disabled) are disabled.
so turning off the tick box for a deinstallation can not be achieved.
I need to clean out all, for a reinstall, can some one please advise? provide an sql script to remove all tables and settings, so a clean fresh installation can be made.
many thanks
rains