6.2 introduces `Error: [] operator not supported for strings`

Created on 3 July 2024, 4 months ago
Updated 26 August 2024, 3 months ago

Problem/Motivation

Since 6.2 we get following error: `Error: [] operator not supported for strings` if you try to set a class item to a block with the field `field_cb_media`
This is because of the changes in https://git.drupalcode.org/project/rocketship_core/-/commit/3c8d4a150f72...

Proposed resolution

Attach the class to an array instead of setting the class as a string.

πŸ› Bug report
Status

Needs review

Version

6.2

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium al0a

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024