TypeError: Illegal offset type in Drupal\custom_field\Plugin\Field\FieldType\CustomItem->getExistingCustomFieldStorageOptions()

Created on 4 September 2023, 10 months ago
Updated 6 September 2023, 10 months ago

Problem/Motivation

The admin interface shows a white page with an error message when trying to add a new custom field when existing instances are already present.

Steps to reproduce

- Create a custom field
- Add a second one and you'll encounter the error

Proposed resolution

- Convert the label of the bundle info to a string when using it as an array key in Drupal\custom_field\Plugin\Field\FieldType\CustomItem

Remaining tasks

-

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium lammensj

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024