Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
4.7.x-1.1
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2007 at 23:18 UTC
Updated:
23 Jan 2007 at 16:30 UTC
When trying to delete a field that is part of your form, the following error is produced.
*****************************
Fatal error: Call to undefined function content_field_instance_delete() in /home/mysite/public_html/modules/cck/content_admin.inc on line 739
Comments
Comment #1
ycim commentedAdditionally, trying to delete the content type results in the following error
***************************
Fatal error: Call to undefined function content_type_delete() in /home/mysite/public_html/modules/cck/content_admin.inc on line 216
Comment #2
l0rne commentedI found the content_type_delete() function in the file content_crud.ini.
Editing content.module, I found the folowing line:
and added this line right under it:
Given the name of the file in which I found the function, I'm nervous about how dangerous it will be to enable it, but after i did this, I was able to delete a content type.
Comment #3
karens commentedThis is the same problem as in http://drupal.org/node/107836. A new release will be created early tomorrow that will fix this. In the meantime, use the nightly snapshot to get it (the file that ends in -dev).
Comment #4
karens commentedA new release has been issued, version 1.2, that will fix this problem.
Comment #5
(not verified) commented