1. I set up a node with fields
2. I decided I didn't want comments - so I deactivated comments modules
3. When I returned to the content type to add a new field - I got a mysql error and it was totally inaccessible.

I was expecting that the I could edit the content type as normal, but that the comments options wouldn't be visable.

In the end i had to 1.disable comments 2. totally recreate content types.

Comments

asimmonds’s picture

Status: Active » Postponed (maintainer needs more info)

Can you please copy/paste here the SQL error that was displayed?

jily’s picture

Fatal error: Call to undefined function comment_node_type_load() i/seven/includes/menu.inc on line 556

AnalogFile’s picture

@jily you may want to verify if the problem is still present in current HEAD. If so, retag this issue as version 7.x-dev and change status back to open.

rdeboer’s picture

Version: 7.0-alpha7 » 7.0

Fresh D7.0 downlaod. Same error as repoted in #2, except it's now become line 557

Fatal error: Call to undefined function comment_node_type_load() ...../includes/menu.inc on line 557

Same steps to reproduce as the original issue. Just click "edit" on any content type, whether core (i.e. Article and Basic Page) or custom.
As a result it is simply impossible to disable the Comment module and reduce "bulk".

ruralrooster’s picture

Same Here on www.jjcampbell.com

droplet’s picture

try to clean caches & test with -dev version

error lines:



          foreach ($args as $i => $arg) {
            if ($arg === '%index') {

no calls for the function ...

only may happen is line 573



          $return = call_user_func_array($function, $args);

anyone can post a xdebug backtrace or devel error backtrace that could get help to debug

sun’s picture

Priority: Major » Normal
les lim’s picture

Version: 7.0 » 7.x-dev

I just encountered the same fatal error as #4 on a site that I'm supervising (but not developing). I didn't spend any time looking into it; forcing a registry rebuild immediately fixed the problem. Nothing but trouble, that registry.

http://drupal.org/project/registry_rebuild

jpnova’s picture

Clearing the cache was sufficient for me

Bèr Kessels’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)