TypeError on /admin/structure/display-modes/view

Created on 12 May 2023, over 1 year ago
Updated 1 June 2023, over 1 year ago

Problem/Motivation

When visiting the view modes page the follow error is seen because rows are being added to tables that don't exist

TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in count() (line 61 of modules/contrib/dmg/src/EntityDisplayModeListBuilder.php).

Steps to reproduce

Proposed resolution

Only add link to tables that exist by filtering the same way that `\Drupal\field_ui\EntityDisplayModeListBuilder` does.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States chrissnyder Maryland

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

Comments & Activities

Production build 0.71.5 2024