Undefined array key "prefix" in template_preprocess_field__ds_field_expert() and Undefined array key "suffix" in template_preprocess_field__ds_field_expert()

Created on 20 January 2024, 10 months ago
Updated 4 February 2024, 10 months ago

Problem/Motivation

I got the following warnings about undefined keys in template_preprocess_field__ds_field_expert when using Display Suite 3.18 and Drupal core 10.2.2 on PHP 8.2:

Warning: Undefined array key "prefix" in template_preprocess_field__ds_field_expert() (line 1207 of modules/contrib/ds/ds.module).

Warning: Undefined array key "suffix" in template_preprocess_field__ds_field_expert() (line 1208 of modules/contrib/ds/ds.module).

It looks like the title field of the node is used for the page title and the settings array on the field is empty.

🐛 Bug report
Status

Fixed

Version

3.18

Component

Code

Created by

🇳🇱Netherlands Ewout Goosmann

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

Comments & Activities

Production build 0.71.5 2024