Array to string conversion for Media Image

Created on 22 July 2019, over 5 years ago
Updated 3 February 2025, 1 day ago

Drupal: 8.7.5
PHP: 7.2.19-1
Array to string conversion in /var/www/html/docroot/modules/contrib/entity_embed/src/Form/EntityEmbedDialog.php on line 828

Haven't tried on vanilla site yet, but for our project, we have a media bundle named Image with an image field. I try to pick an 'Image' media type to embed in wysiwyg and I get an ajax error. Only line 828 it is trying to cast an array to a string. The array is $values['attributes']['data-entity-embed-display-settings'] and is empty when it gets there.

πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States johnlutz

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

Merge Requests

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