Undefined array key "fieldDefinition"

Created on 10 April 2025, 10 days 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

  • Issue created by @allan.ordogh
  • 🇪🇸Spain gxleano Cáceres

    Hi @allan.ordogh

    I tried to reproduce the bug, but I was not able to do it.

    Maybe you can try to update to the latest version of the module 1.2.37 and see if this fix the issue in your end, as far as I can see you are so far from there.

    Why are you still using 1.2.24?

Production build 0.71.5 2024