goaop-symfony-bundle
goaop-symfony-bundle copied to clipboard
debug: true cause error in symfony 3.4.8
In a 3.4.8 symfony project we are facing an issue related to the debug directive in config.file.
In a first try we've setted debug property to %kernel.debug% and in dev after doing cache:warmup the first time and changhing something in one of the classes implementing "\Go\Aop\Aspect" this change causes an error in "\Symfony\Component\Debug\DebugClassLoader:146" when doing another cache:clear/warmup.
The error from the DebugClassLoader complains about a costructor of a class in our app, but totally inconsistent (it says that the constructor is not compatible with the interface is implementing, but it's right).
After a lot of debugging we've tried to set the debug parameter to false and now all works correctly.