Download & Extend

Fatal error uninstalling media_youtube when media_internet is disabled: Class 'MediaInternetBaseHandler' not found

Project:Media: YouTube
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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?

Comments

#1

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

#2

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

#3

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

#4

Version:7.x-1.0-alpha4» 7.x-1.x-dev
Status:active» needs review

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

AttachmentSize
media_youtube-uninstall.patch 6.76 KB

#5

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

#6

Patch #4 worked here.

#7

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.

#8

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.

#9

Status:fixed» closed (fixed)

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