After updating of any module, my site stop working. I get a white screen on any page and following error in the log:
PHP Fatal error: Class name must be a valid object or a string in .../includes/common.inc on line 7848

I tried cache clearing (drush cc all), registry rebuilding (drush rr). It doesn't help.
The only solution I've found is to set a bootstrap field to 1 (instead of 0) for the system module in the system table. A bootstrap property in the info blob field should be set to 1 too. After that I have to clear all cache tables:
DELETE FROM cache;
DELETE FROM cache_block;
DELETE FROM cache_bootstrap;
DELETE FROM cache_browscap;
DELETE FROM cache_entity_registration;
DELETE FROM cache_entity_registration_state;
DELETE FROM cache_entity_registration_type;
DELETE FROM cache_fb;
DELETE FROM cache_field;
DELETE FROM cache_filter;
DELETE FROM cache_form;
DELETE FROM cache_htmlpurifier;
DELETE FROM cache_image;
DELETE FROM cache_l10n_update;
DELETE FROM cache_libraries;
DELETE FROM cache_menu;
DELETE FROM cache_oembed;
DELETE FROM cache_page;
DELETE FROM cache_panels;
DELETE FROM cache_path;
DELETE FROM cache_rules;
DELETE FROM cache_token;
DELETE FROM cache_update;
DELETE FROM cache_variable;
DELETE FROM cache_views;
DELETE FROM cache_views_data;
DELETE FROM watchdog;

After that my site starts working. But after updating of any module bootstrap property of the system module is set to 0 again. And I have to repeat all this steps to reanimate my site.

How can I fix it?

Comments

dcam’s picture

Category: Bug report » Support request

The most likely explanation for this problem is that you have a module which is implementing hook_system_info_alter() and it's forcing the bootstrap properties to be 0. This hook gets invoked when Drupal rebuilds its module data, which is probably why clearing the cache doesn't help at all. Check your contributed modules for ones that implement this hook and disable them one-by-one until the problem no longer occurs.

Version: 7.31 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.