When trying to uninstall I get one of these :

Fatal error: Class 'MediaInternetBaseHandler' not found in ...sites/all/modules/media_youtube/media_youtube.module on line 253

any thoughts?

CommentFileSizeAuthor
#4 media_youtube-uninstall.patch6.76 KBmfb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rhache’s picture

Just confirming that I'm getting the same error.

Fatal error: Class 'MediaInternetBaseHandler' not found in /Users/rene/Sites/test/d7_testing/sites/all/modules/contrib/media_youtube/media_youtube.module on line 253

Drupal 7.0, Media YouTube 7.x-1.0-alpha4, Media & Media Internet Sources 7.x-1.0-beta3

thanks,
Rene

cudeso’s picture

Also confirming on Drupal 7.0, media_youtube-7.x-1.0-alpha4, media-7.x-1.0-beta3

dozenson’s picture

Got the same error and found a workaround. Try enabling all the modules that media_youtube depends on and only then disable it and try uninstalling again

mfb’s picture

Version: 7.x-1.0-alpha4 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
6.76 KB

This patch allows me to uninstall. Haven't yet tested if the module itself still works, however :)

Azol’s picture

The workaround to sucessfully uninstal is this (at least worked for me):
1) go to admin/config/media/types
2) check settings for every media type and TICK OFF YouTube media everywhere, save the settings again
3) disable the module
4) Uninstall

berenddeboer’s picture

Patch #4 worked here.

effulgentsia’s picture

Title: Uninstallation » Uninstall Error: Fatal error: Class 'MediaInternetBaseHandler' not found

Marked #1149512: Uninstall Error: Fatal error: Class 'MediaInternetBaseHandler' not found a duplicate. I like its issue title though, so copying it.

effulgentsia’s picture

Title: Uninstall Error: Fatal error: Class 'MediaInternetBaseHandler' not found » Fatal error uninstalling media_youtube when media_internet is disabled: Class 'MediaInternetBaseHandler' not found
Status: Needs review » Fixed

Committed to 7.x-1.x. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.