This module cant unistall because it code is mising in line 19 in file media_soundcloud.install:
drupal_load('module', 'media_soundcloud');

the error reported is
PHP Fatal error: Call to undefined function media_soundcloud_variable_default() in [...]/sites/all/modules/media_soundcloud/media_soundcloud.install in line 19, referer: http://[...]/admin/modules/uninstall/confirm

the solution is OPEN sites/all/modules/media_soundcloud/media_soundcloud.install
and add in line 19 before
drupal_load('module', 'media_soundcloud');

coz
media_soundcloud_variable_default()
is a function that require the module and it is not include en media_soundcloud.install

I hope its can help you...

I really speak spanish no english.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim’s picture

Title: Error Unistalling fixed... all to undefined function media_soundcloud_variable_default() » error when uninstalling: undefined function media_soundcloud_variable_default()
Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Status: Fixed » Active
dddave’s picture

Status: Active » Closed (duplicate)
joachim’s picture

Status: Closed (duplicate) » Active

Let's keep this one open as it has a solution. Could someone turn that into a patch please? There are simple instructions available in the documentation section of this site, and help is available on IRC.

Rob C’s picture

Status: Active » Needs review
FileSize
612 bytes

There u go. (and you Only need to load the variables inc file, not the whole module ;) )

GREAT WORK PEOPLE!

victoriachan’s picture

Assigned: Unassigned » victoriachan

Thank you, ClusterFCK!

I have tried this and can confirm that it works. I'll commit this once I have figured out how to.

Thanks everyone who helped!

mansspams’s picture

Status: Needs review » Reviewed & tested by the community

Works.

victoriachan’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Oops, sorry. Forgot to update this when I committed it.

This has been committed to the 7.x-1.x-dev branch, and will be included in the next recommended release.

Thanks,
Victoria