Warning message on Drupal 10

Created on 4 December 2023, 12 months ago
Updated 31 May 2024, 6 months ago

Problem/motivation

Warning: foreach() argument must be of type array|object, string given in linked_field_entity_display_build_alter() (line 372 of modules/contrib/linked_field/linked_field.module).

Steps to reproduce

This warning message came up when I added a custom link on a media type display mode name field link this field type custom and Destination: internal:/test/[media:test]

Proposed resolution

add array check to the foreach

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

1.5

Component

Code

Created by

🇮🇳India Arunkarthick Nj, USA

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

Comments & Activities

Production build 0.71.5 2024