Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When visiting the front page the first time after installing i get the following error once:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal8.cache_menu' doesn't exist: SELECT 1 AS expression FROM {cache_menu} cache_menu WHERE ( (cid = :db_condition_placeholder_0) ); Array ( [:db_condition_placeholder_0] => links:tools:page:node:en:1:0 ) in Drupal\Core\Cache\DatabaseBackend->doSet() (line 189 of /Users/lukasvonblarer/Sites/drupal8/core/lib/Drupal/Core/Cache/DatabaseBackend.php).
When I reload the page it is gone.
Comments
Comment #1
marcingy CreditAttribution: marcingy commentedI have just attempted to recreate this and no joy. Can you provide information about your environment etc
Comment #2
BarisW CreditAttribution: BarisW commentedI had the same this morning.
I got it this way:
- Installed Drupal
- Removed two configuration lines in the bottom of settings.php
- Ran install.php and got a warning
- Dropped tables (drush sql-drop)
- Ran install.php again
- Installer runs but shows the cache_table error in the end
- Simple refresh removed this.
Not sure if the above steps will reproduce it, but this is how I got it.
Comment #3
Lukas von BlarerI encountered this by normally installing Drupal. I had no warnings before that. I am running it on Acquia Dev Desktop on a Mac.
Comment #7
BerdirClosing this as it is very old and doesn't seem to happen anymore.