Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2010 at 17:11 UTC
Updated:
10 Jan 2010 at 23:48 UTC
To reproduce problem, on a fresh D7 checkout (comment.module 1.828):
- disable comment module
- go to admin/content or node/add/article or node/add/page
You'll get multiple warnings like:
Notice: Undefined index: comment in entity_get_info() (line 6338 of /(path)/includes/common.inc). Warning: Invalid argument supplied for foreach() in _field_info_prepare_instance() (line 288 of /(path)/modules/field/field.info.inc).
To remove the problem:
- either enable comment.module
- or uninstall it
In both cases, the problem goes away. To reproduce it at will, enable the module then disable it without uninstalling.
Comments
Comment #1
yched commentedThat's actually a dupe of #668386: Handle unavailable entity types or bundles..