[PR #7934] Fix Trying to access array offset on value of type null #10725

Closed
opened 2026-01-22 16:08:28 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/7934

State: closed
Merged: Yes


This error occurs on PHP 7.4, for example when you're running this (invalid) DQL from the Symfony console:

bin/console doctrine:query:dql "SELECT CURRENT_TIMESTAMP()"

In Parser.php line 305:
Notice: Trying to access array offset on value of type null

**Original Pull Request:** https://github.com/doctrine/orm/pull/7934 **State:** closed **Merged:** Yes --- This error occurs on PHP 7.4, for example when you're running this (invalid) DQL from the Symfony console: ``` bin/console doctrine:query:dql "SELECT CURRENT_TIMESTAMP()" ``` > In Parser.php line 305: > Notice: Trying to access array offset on value of type null
admin added the pull-request label 2026-01-22 16:08:28 +01:00
admin closed this issue 2026-01-22 16:08:29 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10725