quickstart@qs10:~/websites/nodestream.dev/sites/all/modules/registry_rebuild$ php registry_rebuil
d.php 
DRUPAL_ROOT is /home/quickstart/websites/nodestream.dev.<br/>
Bootstrapping to DRUPAL_BOOTSTRAP_SESSION<br/>
Doing registry_rebuild() in DRUPAL_BOOTSTRAP_SESSION<br/>
Bootstrapping to DRUPAL_BOOTSTRAP_FULL<br/>
Doing registry_rebuild() in DRUPAL_BOOTSTRAP_FULL<br/>
Flushing all caches<br/>

Fatal error: require_once(): Failed opening required '/home/quickstart/websites/nodestream.dev/si
tes/all/modules/contrib/ctools/plugins/arguments/term.inc' (include_path='.:/usr/share/php:/usr/s
hare/pear') in /home/quickstart/websites/nodestream.dev/profiles/nodestream/modules/ctools/includ
es/plugins.inc on line 468

Call Stack:
    0.0020     690672   1. {main}() /home/quickstart/websites/nodestream.dev/sites/all/modules/re
gistry_rebuild/registry_rebuild.php:0
    0.1840    8551384   2. registry_rebuild_rebuild() /home/quickstart/websites/nodestream.dev/si
tes/all/modules/registry_rebuild/registry_rebuild.php:48
    1.6744   48889416   3. drupal_flush_all_caches() /home/quickstart/websites/nodestream.dev/sit
es/all/modules/registry_rebuild/registry_rebuild.php:116
    1.9783   46183248   4. menu_rebuild() /home/quickstart/websites/nodestream.dev/includes/commo
n.inc:7161
    1.9929   46185088   5. menu_router_build() /home/quickstart/websites/nodestream.dev/includes/
menu.inc:2655
    2.1164   50658824   6. call_user_func() /home/quickstart/websites/nodestream.dev/includes/men
u.inc:2686
    2.1164   50658824   7. page_manager_menu() /home/quickstart/websites/nodestream.dev/includes/
menu.inc:0
    2.1593   52919952   8. page_manager_page_menu() /home/quickstart/websites/nodestream.dev/prof
iles/nodestream/modules/ctools/page_manager/page_manager.module:146
    2.1817   54600128   9. ctools_get_argument() /home/quickstart/websites/nodestream.dev/profile
s/nodestream/modules/ctools/page_manager/plugins/tasks/page.admin.inc:88
    2.1817   54600408  10. ctools_get_plugins() /home/quickstart/websites/nodestream.dev/profiles
/nodestream/modules/ctools/includes/context.inc:724
    2.1818   54601912  11. ctools_plugin_load_includes() /home/quickstart/websites/nodestream.dev
/profiles/nodestream/modules/ctools/includes/plugins.inc:311

Solution:

DELETE FROM `cache` WHERE `cid` LIKE 'ctools_plugin_files:%';

After that registry rebuild was successful.

Comments

rfay’s picture

I wonder what the right fix is for this. Should we wander in and kill the cache tables manually?

rfay’s picture

Oh - Would appreciate if you could test #1307864: Backport to Drupal 6 (or make generic drush command) and see if it fixes this.

rfay’s picture

Status: Active » Fixed

I believe that #1307864: Backport to Drupal 6 (or make generic drush command) fixes this, and would appreciate any feedback.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

vadym.kononenko’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Closed (fixed) » Needs review
StatusFileSize
new497 bytes

Excuse me I've open old issue but I've got identical case.

#1307864 solution works fine until custom cache backends are using. It can be fixed by this small patch.

omega8cc’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev
Status: Needs review » Closed (fixed)

Thank you for the patch, but you are probably using some very old version, because we don't use db_truncate() on the cache table anymore. Please upgrade to 7.x-2.2