Undefined array key "fieldDefinition"

Created on 10 April 2025, about 2 months ago

Hello everyone :)

I'm actually using D10.4.6.

I share you one warning from version 1.2.24 :

Warning: Undefined array key "fieldDefinition" in tagify_options_list_alter() (line 57 of modules/contrib/tagify/tagify.module).

We could patch it by adding an isset before (for example).

function tagify_options_list_alter(array &$options, array $context): void {
  if (!$context['fieldDefinition'] instanceof FieldDefinitionInterface) {
    return;
  }
🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇫🇷France allan.ordogh

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

Comments & Activities

Production build 0.71.5 2024