Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The service "data.collector.time" has a dependency on a non-existent parameter "data_collector.time.class" #24

Closed
belka-ew opened this issue Mar 11, 2015 · 1 comment
Labels

Comments

@belka-ew
Copy link

After the last updates I get the following error in production environment in Symfony:

[Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException]
The service "data.collector.time" has a dependency on a non-existent parameter "data_collector.time.class". Did you mean one of these: "data_collector.templates", "data_collector.security.class"?

I get it only for production. Dev Environment works as expected. Adding the following line to parameters.php (in my case) seems to fix it:
'data_collector.time.class' => 'Symfony\Component\HttpKernel\DataCollector\TimeDataCollector'

(just a temorary fix).

@sanpii sanpii added the bug label Mar 11, 2015
@sanpii
Copy link
Member

sanpii commented Mar 11, 2015

Fixed in 82c7bca

Thank you.

@sanpii sanpii closed this as completed Mar 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants