2016-09-19 2 views
2

Nach SoclozMonitoringBundle Installation, traf ich diesen Fehler:Socloz MonitoringBundle Profiler Argumente

ContextErrorException: Catchable Fatal Error: Argument 2 passed to Socloz\MonitoringBundle\Listener\Profiler::__construct() must be an instance of Socloz\MonitoringBundle\Notify\StatsD\StatsDInterface, null given, called in /project/app/cache/dev/appDevDebugProjectContainer.php on line 5127 and defined in /project/vendor/socloz/monitoring-bundle/Listener/Profiler.php line 58

app/config/config/yml

socloz_monitoring: 
    exceptions: 
     enable: true 
    profiler: 
     enable: true 
     request: true 
    mailer: 
     enable: true 
     from: [email protected] 
     to: [email protected] 
    statsd: 
     enable: false 
     host: nowhere 
     port: 42 
     merge_packets: true 

Habe ich etwas vergessen?

Ich möchte die Ausführungszeit meiner Ruhe API in der Produktion wissen. Und andere Funktionen.

Vielen Dank im Voraus.

Tanguy

Antwort