Call to a member function getTargetBundle() on null

Created on 4 January 2022, over 3 years ago
Updated 14 November 2023, over 1 year ago

Problem/Motivation

Steps to reproduce

While executing updb after upgrading to Drupal 9.3.0, i got the below mentioned error:

> [notice] Update started: gathercontent_update_8501
> [error] Call to a member function getTargetBundle() on null

> [notice] Update started: gathercontent_ui_update_8501
> [error] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'gathercontent_entity_mapping' doesn't exist: SELECT "gathercontent_entity_mapping"."entity_id" AS "entity_id", "gathercontent_entity_mapping"."entity_type" AS "entity_type", "gathercontent_entity_mapping"."gc_id" AS "gc_id", "gathercontent_entity_mapping"."migration_id" AS "migration_id"
> FROM
> "gathercontent_entity_mapping" "gathercontent_entity_mapping"
> WHERE ("entity_id" = :db_condition_placeholder_0) AND ("entity_type" = :db_condition_placeholder_1); Array
> (
> [:db_condition_placeholder_0] => result_pages
> [:db_condition_placeholder_1] => view
> )
>
> [error] Update failed: gathercontent_ui_update_8501

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

🇮🇳India Nisith

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024