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

debug: true cause error in symfony 3.4.8 #23

Open
gianiaz opened this issue Apr 18, 2018 · 0 comments
Open

debug: true cause error in symfony 3.4.8 #23

gianiaz opened this issue Apr 18, 2018 · 0 comments

Comments

@gianiaz
Copy link

gianiaz commented Apr 18, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant