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.
Comment | File | Size | Author |
---|---|---|---|
#4 | Fix variables delete on hook_uninstall()-1513316.patch | 612 bytes | Rob C |
Comments
Comment #1
joachim CreditAttribution: joachim commentedComment #2
dddave CreditAttribution: dddave commented#1448654: Does not uninstall, Fatal error
Comment #3
joachim CreditAttribution: joachim commentedLet'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.
Comment #4
Rob C CreditAttribution: Rob C commentedThere u go. (and you Only need to load the variables inc file, not the whole module ;) )
GREAT WORK PEOPLE!
Comment #5
victoriachan CreditAttribution: victoriachan commentedThank 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!
Comment #6
mansspams CreditAttribution: mansspams commentedWorks.
Comment #7
victoriachan CreditAttribution: victoriachan commentedOops, 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