Database error updating from 8x-1.23 to 8x-1.24

Created on 30 May 2023, about 1 year ago

Problem/Motivation

I have Drupal 9.5.9. I have just updated from 8x-1.23 to 8x-1.24 using Composer. Running the database update script, I get this error:

Update remove_robots_noydir_noodp
Failed: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'econltsn_drupal_d.D9_user_revision__field_metatag' doesn't exist: SELECT "user_revision__field_metatag"."entity_id" AS "entity_id", "user_revision__field_metatag"."revision_id" AS "revision_id", "user_revision__field_metatag"."langcode" AS "langcode", "user_revision__field_metatag"."field_metatag_value" AS "field_metatag_value" FROM "D9_user_revision__field_metatag" "user_revision__field_metatag" WHERE ("bundle" = :db_condition_placeholder_0) AND (("field_metatag_value" LIKE :db_condition_placeholder_1 ESCAPE '\\') OR ("field_metatag_value" LIKE :db_condition_placeholder_2 ESCAPE '\\')); Array ( [:db_condition_placeholder_0] => book [:db_condition_placeholder_1] => %noodp% [:db_condition_placeholder_2] => %noydir% ) in metatag_post_update_remove_robots_noydir_noodp() (line 253 of /usr/local/projects/econltsn/WWW/modules/contrib/metatag/metatag.post_update.php).

Looking at my tables in MySQL, there is a D9_node_revision__field_metatag and a D9_user__field_metatag but no D9_user_revision__field_metatag . Thanks in advance for any resolution.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

1.24

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom mlpoulter

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

Comments & Activities

Production build 0.69.0 2024