mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #6989] fix Catchable Fatal Error: Argument 3 passed to Doctrine\ORM\Event\Pr… #10253
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/6989
State: closed
Merged: No
Hi, guys
When I want to remove entity, that has few relations, I get this error:
Catchable Fatal Error: Argument 3 passed to Doctrine\ORM\Event\PreUpdateEventArgs::__construct() must be of the type array, null given, called in /var/www/akela/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 1065 and defined
After debugging and understanding what's going on, I found a solution
Hope, you can help me to fix this issue