Closed (fixed)
Project:
D7 Media
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Nov 2009 at 19:19 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent
Many copies fo this error message:
# Notice: Undefined variable: node_type in media_uninstall() (line 24 of /sites/all/modules/media-DRUPAL-7--1/media.install).
# Notice: Undefined index: field_name in media_uninstall() (line 24 of sites/all/modules/media-DRUPAL-7--1/media.install).
Comments
Comment #1
aaron commentednot sure of the state of this issue -- there are other issues on disable in any case; they can probably go here as well.
Comment #2
aaron commentedthis really should be fixed before releasing the alpha.
Comment #3
dipen chaudhary commentedWhen you uninstall the module you get a Fatal error for undefined function - media_registration_kinds() (Line 201 media.install).
Also not sure why do we have following:
Are we storing these settings somewhere, on a quick look I dont think we are.
Also upon further testing, if we enable the module again db_add_field doesn't add type column to file table.
Comment #4
aaron commentedi've fixed up the variable deletion.
Comment #5
JacobSingh commentedI think aaron's fix does the trick.