I have a module Media: YouTube which is being buggy when attempting to uninstall. I disabled it in the modules along with its dependencies, and when I go to the uninstall tab and perform the uninstall operation, it returns a blank screen. I go back to the module page, and it's still there (along with 3 other modules that need this one uninstalled first before the others can be removed).

Is there a general method of purging modules from the backend? I have full access to the server and database as well.

EDIT: Checked logs and found a PHP error:

[Thu Jan 19 13:12:21 2012] [error] [client 192.168.xxx.xxx] PHP Fatal error: Call to undefined function media_youtube_variable_default() in /var/www/drupal/sites/all/modules/media_youtube/media_youtube.install on line 19, referer: http://vulcan/drupal/?q=admin/modules/uninstall/confirm&render=overlay

Sounds like it's just a badly written module?

  • Have you followed the procedures for solving the Drupal WSOD (drupal.org/node/158043)? It sounds like you have a bigger issue than a buggy module. At the very least, you need to get an error message to diagnose what the problem is.
    – mpdonadio
    Jan 19, 2012 at 19:26
  • Reading through your link, I checked my log files to find my edit above. Jan 19, 2012 at 19:31

1 Answer 1


This is a known bug. Replace the module with the most recent DEV version, update, and then try uninstalling again


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.