When I disabled comment module and went to edit webform content type I faced an error

Fatal error: Call to undefined function comment_node_type_load() in C:\xampp\htdocs\dreams\includes\menu.inc on line 579

Comments

quicksketch’s picture

Status: Active » Closed (duplicate)

Sounds the same as #914676: Content Type becomes totally inaccessible after Comment Module is disabled. I don't think this is a bug with Webform, it would probably happen on any content type (as others have reported). You should update the issue against core with steps to reproduce the problem.

jorisx’s picture

Exact same issue here, when webform was installed and comment was disabled
I wanted to edit the menu settings in the content type 'basic page'
Fatal error: Call to undefined function comment_node_type_load() in ... includes/menu.inc on line 579

uninstalled webform 7.x-3.13 and it worked again :)
(comments is still disabled but not uninstalled)

This was with a clean isntall of drupal 7.8

works now but can't use the webform,
any Idea how to fix this?

And keep up the good work :)
Loving Drupal
Cheers Joris

jpnova’s picture

Clearing the cache was enough to resolve the problem for me.

ercder’s picture

This worked for me as well. Thanks!

arua13l’s picture

Clearing cache worked here also.

gcassie’s picture

If you're experiencing this and can't get into the UI, access the database and truncate every table that begins with "cache", the menu_router table, and the registry_file table.