Null value during using gutenberg with hook_event_dispatcher module.

Created on 28 March 2023, over 1 year ago
Updated 12 September 2023, about 1 year ago

Problem/Motivation

During add empty content when you have gutenberg and hook_event_dispatcher module sometimes appear:

Warning: Trying to access array offset on value of type null in gutenberg_form_alter() (line 281 of modules/contrib/gutenberg/gutenberg.module).
gutenberg_form_alter(Array, Object, 'node_type_add_form') (Line: 562)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'node_type_add_form') (Line: 114)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->alter(Array, Array, Object, 'node_type_add_form') (Line: 838)

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇵🇱Poland Pawelgorski87

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024