Trying to access array offset on value of type null in Doctrine\Common\Reflection\StaticReflectionParser->parse #5

Closed
opened 2026-01-24 11:24:43 +01:00 by admin · 0 comments
Owner

Originally created by @DieterHolvoet on GitHub (Mar 9, 2020).

I'm getting the following notice running version 1.1.0:

Notice: Trying to access array offset on value of type null in Doctrine\Common\Reflection\StaticReflectionParser->parse() (line 192).

First part of the stack trace:

Doctrine\Common\Reflection\StaticReflectionParser->parse() (Line: 303)
Doctrine\Common\Reflection\StaticReflectionParser->getDocComment() (Line: 35)
Doctrine\Common\Reflection\StaticReflectionClass->getDocComment() (Line: 101)
Drupal\Component\Annotation\Doctrine\SimpleAnnotationReader->getClassAnnotations(Object) (Line: 125)
Originally created by @DieterHolvoet on GitHub (Mar 9, 2020). I'm getting the following notice running version 1.1.0: ``` Notice: Trying to access array offset on value of type null in Doctrine\Common\Reflection\StaticReflectionParser->parse() (line 192). ``` First part of the stack trace: ``` Doctrine\Common\Reflection\StaticReflectionParser->parse() (Line: 303) Doctrine\Common\Reflection\StaticReflectionParser->getDocComment() (Line: 35) Doctrine\Common\Reflection\StaticReflectionClass->getDocComment() (Line: 101) Drupal\Component\Annotation\Doctrine\SimpleAnnotationReader->getClassAnnotations(Object) (Line: 125) ```
admin closed this issue 2026-01-24 11:24:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/reflection#5