You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just found strange issue with routing annotation loader and traits.
I'm getting error Class AppBundle\Controller\getDoctrine does not exist in /path/sf282/src/AppBundle/Controller/. After some debugging I came to \Symfony\Component\Routing\Loader\AnnotationFileLoader::findClass , so probably there some bug.
Here is my project structure
I have trait inside controller directory, and routing configured to parse annotations inside directory
Please update to the latest patch version. This was fixed by #18907 (and reported before in #18633) which was first included in Symfony 2.3.42, 2.7.14, 2.8.7, and 3.0.7.
Uh oh!
There was an error while loading. Please reload this page.
Hello.
I've just found strange issue with routing annotation loader and traits.
I'm getting error
Class AppBundle\Controller\getDoctrine does not exist in /path/sf282/src/AppBundle/Controller/
. After some debugging I came to\Symfony\Component\Routing\Loader\AnnotationFileLoader::findClass
, so probably there some bug.Here is my project structure

I have trait inside controller directory, and routing configured to parse annotations inside directory
The text was updated successfully, but these errors were encountered: