Undefined array key 0 in Drupal\comment\Plugin\Field\FieldWidget\CommentWidget->formElement() (line 71 of core/modules/comment/src/Plugin/Field/FieldWidget/CommentWidget.php).

Created on 11 June 2024, 15 days ago

We have some error with Drupal 10.2.x and php 8.2.x when comment module is enabled on node page edit

Undefined array key 0 in Drupal\comment\Plugin\Field\FieldWidget\CommentWidget->formElement() (line 71 of core/modules/comment/src/Plugin/Field/FieldWidget/CommentWidget.php).

Undefined array key 0 in Drupal\comment\CommentFieldItemList->get() (line 25 of core/modules/comment/src/CommentFieldItemList.php).

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
CommentΒ  β†’

Last updated about 15 hours ago

Created by

πŸ‡«πŸ‡·France Nicolas S. Lyon, France

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024