PHP 8.1 compatibility.

Created on 1 August 2023, over 1 year ago
Updated 2 August 2023, over 1 year ago

Problem/Motivation

Warning: Trying to access array offset on value of type null in Doctrine\Common\Annotations\DocParser->Identifier() (line 967 service_container/modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php).
The issue is reproduced on PHP 8.1 when searching module in modules list (/admin/modules?filter=dblog&enabled=1&disabled=1&required=1&unavailable=1)

Proposed resolution

According to fixes, made in this patch for Drupal 8/9 https://www.drupal.org/project/drupal/issues/3086374
i would suggest to apply a patch

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇰🇿Kazakhstan Dmitrii_Zadorozhnyi

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

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

  • 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