mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Command orm:debug:event-manager not found #7581
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?
Originally created by @laurentmuller on GitHub (Dec 20, 2025).
Bug Report
Summary
With PR #12165, 2 commands was added:
Current behavior
When starting application, 2 errors are throw:
Expected behavior
No error reported.
How to reproduce
Just start application and check log file.
@greg0ire commented on GitHub (Dec 20, 2025):
Can you run any of the commands listed here? If you are using Symfony, you probably want https://github.com/doctrine/DoctrineBundle/pull/2172 released.
@greg0ire commented on GitHub (Dec 20, 2025):
@HypeMC hi! I think the new commands should have been registered here:
2491c4b20d/src/Tools/Console/ConsoleRunner.php (L70-L91)@HypeMC commented on GitHub (Dec 20, 2025):
@greg0ire Hi, I'll take a look, wasn't aware this existed 😄
@laurentmuller commented on GitHub (Dec 20, 2025):
This is the output when I try to run command:
@greg0ire commented on GitHub (Dec 20, 2025):
@laurentmuller you seem confused. I've been confused by this in the past as well, so I will write docs so that you understand better what's going on.
@greg0ire commented on GitHub (Dec 20, 2025):
@laurentmuller hopefully this helps: https://github.com/doctrine/DoctrineBundle/pull/2173
@laurentmuller commented on GitHub (Dec 20, 2025):
Good.
My question now is: why aren't the two new commands included?
@greg0ire commented on GitHub (Dec 20, 2025):
For
ConsoleRunner, that you could use in a custom binary as per the docs I linked, it was overlooked, see https://github.com/doctrine/orm/issues/12330#issuecomment-3677634802For Symfony applications, they are if you use
doctrine/doctrine-bundle3.2.x, which has no stable release yet.@laurentmuller commented on GitHub (Dec 21, 2025):
OK. We wait for version 3.2.x.