Update failed: "dr8t_node__layout_builder__layout' doesn't exist"

Created on 10 November 2023, about 1 year ago
Updated 20 November 2023, about 1 year ago

Problem/Motivation

Trying to update from v 1.1.1 to 1.1.4, I get the following error message:

views_block_override module
Update #9102
Failed: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'winche20_drup671.dr8t_node__layout_builder__layout' doesn't exist: SELECT "ns"."entity_id" AS "entity_id" FROM "dr8t_node__layout_builder__layout" "ns" GROUP BY "ns"."entity_id"; Array ( ) in views_block_override_update_9102() (line 33 of /home/winche20/public_html/modules/views_block_override/views_block_override.install).

My site is Drupal 10.1.6 - the Layout Builder module is not enabled (nor is Layout Discovery or Field Layout). Those modules had not been required in the past for Views Block Override.

Steps to reproduce

Update (or install?) Views Block Override, run database update.

Proposed resolution

Don't try to update the nonexistent table?

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States peter pulsifer

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

Comments & Activities

Production build 0.71.5 2024