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

With Symfony 6.x APP_DEBUG=true, the debug component does a false positive error #196

Open
pounard opened this issue Nov 21, 2024 · 0 comments

Comments

@pounard
Copy link
Member

pounard commented Nov 21, 2024

Error: During inheritance of MakinaCorpus\QueryBuilder\Query\Where\WhereWhere, while autoloading MakinaCorpus\QueryBuilder\Query\Where\WhereWhereNested: Uncaught ReflectionException: Class "MakinaCorpus\QueryBuilder\Query\Where\WhereWhere" does not exist in /code/app/vendor/symfony/error-handler/DebugClassLoader.php:324

So, in fact the code does exists, and PHP does know how to load it, but the debug component of Symfony does not.

  • Test with Symfony 7.x to ensure it's fixed, if not open a bug there if none exist. This would need reproducing the error.
  • In all cases, document that using APP_DEBUG=0 is mandatory with bugguy Symfony versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant