Base table or view not found

Created on 6 August 2025, 2 months ago

Problem/Motivation

After upgrading to version 8.x-1.20 I started to get strange issues related to missing database table.

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal10_usimtestblueprint_com.consumer__roles' doesn't exist: SELECT "t".* FROM "consumer__roles" "t" WHERE ("entity_id" IN (:db_condition_placeholder_0)) AND ("deleted" = :db_condition_placeholder_1) AND ("langcode" IN (:db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4)) ORDER BY "delta" ASC; Array ( [:db_condition_placeholder_0] => 2 [:db_condition_placeholder_1] => 0 [:db_condition_placeholder_2] => en [:db_condition_placeholder_3] => und [:db_condition_placeholder_4] => zxx ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->loadFromDedicatedTables() (line 1242 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

Other upgrades have been done. Using Drupal 10.3.x

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.20

Component

Code

Created by

🇬🇧United Kingdom jacobmroz London, Malaga, Krakow

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024