The exact error message is:

Base table or view not found: 1146 Table 'cache_l10n_update' doesn't exist: TRUNCATE {cache_l10n_update} ; Array() in cache_clear_all() (line 167 of includes/cache.inc).

I need to clear my registry (using drush rr) to fix some modules that have moved around and that prevent properly running updates. However at the same time, i cannot use drush rr, because it attempts to clear the cache for a table that does not exist yet (because updates for l10n_update module have not been run yet). A vicious cycle!

I found that adding the following lines around the cache clear calls fixed things. Patch to follow.

    if (db_table_exists('cache_l10n_update')) {
      cache_clear_all('*', 'cache_l10n_update', TRUE);
    }
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jwilson3’s picture

Sutharsan’s picture

Status: Active » Closed (won't fix)

Thanks for reporting, but the cache table has been removed in #2418287: cache_l10n_update table is not used. The table was not in use and the cache clear was removed some time ago. There is nothing left to fix anymore.