liip / LiipMonitorBundle

Integrates the LiipMonitor library into Symfony
http://liip.ch
467 stars 103 forks source link

Broken on php72 #157

Closed cordoval closed 6 years ago

cordoval commented 6 years ago

[2017-12-05 17:56:35] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: Declaration of ZendDiagnostics\Result\Collection::offsetSet($index, $checkResult) must be compatible with SplObjectStorage::offsetSet($object, $inf = NULL)" at /private/var/www/system/var/vendor/zendframework/zenddiagnostics/src/ZendDiagnostics/Result/Collection.php line 219 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: Declaration of ZendDiagnostics\Result\Collection::offsetSet($index, $checkResult) must be compatible with SplObjectStorage::offsetSet($object, $inf = NULL) at /private/var/www/system/var/vendor/zendframework/zenddiagnostics/src/ZendDiagnostics/Result/Collection.php:219)"} [] [2017-12-05 17:56:35] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_controller":"web_profiler.controller.profiler:toolbarAction","token":"007c14","_route":"_wdt"},"request_uri":"https://system.m/_wdt/007c14","method":"GET"} []

cordoval commented 6 years ago

related https://github.com/zendframework/ZendDiagnostics/issues/84

cordoval commented 6 years ago

addressing in https://github.com/liip/LiipMonitorBundle/pull/161

gtrias commented 6 years ago

Why is this issue closed?

I'm having this error in the last 2.6.3 version. Should I manually update zendframework/ZendDiagnostics?

cordoval commented 6 years ago

you have to run again rm composer.lock and composer install

the issue is rightly closed, you are just lock in a previous version of diagnostics yeah

cordoval commented 6 years ago

joder! 👴 estos polluelos de hoy en dia! 😊

gtrias commented 6 years ago

Thanks @cordoval for the quick answer as you said it was the locked composer version. No se el comentario de los polluelos a cuento de que lo has hecho, no me parece que haya preguntado nada tan raro cómo para hacer este tipo de comentarios...

cordoval commented 6 years ago

he he, esta bien, perdoname, solo queria sonar gracioso, no me resulto