Fatal error: Call to undefined function media_variable_default() in ... /media.install on line 104

Comments

shunting’s picture

I 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...

Dave Reid’s picture

Status: Active » Closed (duplicate)

This has *already* been fixed with 7.x-1.x-dev.

shunting’s picture

Thanks. I did search the issues list on "media_variable_default" and didn't see a patch. Possibly I missed it?

rains’s picture

Issue tags: +admin/build/modules, +remove, +fields, +Media 7.x-1.1, +deinstallation, +deinstall, +reinstall

Media 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