-
Notifications
You must be signed in to change notification settings - Fork 7
sensiolabs.doctrinequerystatistics.data_collector problem #4
Comments
Sounds like something changed inside Doctrine. Which version of Symfony are you using? |
Here is my composer.json file:
|
Hmm... maybe @stof can help with that? |
Hmm, if running the command as no-debug, the profiling will indeed be disabled by default in the connection, so the service will not be defined. and as you are running it as dev and no-debug, the query statistics bundle is registered. |
I have to look into this again. I try to make some time for this next week |
Just a little ping for this issue :) So if you move the registration into the if-statement at the end of the registerBundles() it should be fine. |
any update on this issue? I have totally the same behaviour as @adrav has mentioned. |
Hi,
when I add this bundle:
"sensiolabs/doctrine-query-statistics-bundle": "dev-master",
to my composher.json, everytime when I use:
php app\console --no-debug
I get:
[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "sensiolabs.doctrinequerystatistics.data_collector" has a dependency on a non-existent service "doctrine.dbal.logger.profiling.default".
Please tell me what I am doing wrong.
Rafał
The text was updated successfully, but these errors were encountered: