-
Notifications
You must be signed in to change notification settings - Fork 130
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
Call to a member function has() on null #307
Comments
related symfony2 issue symfony/symfony#23200 |
this issue looks like duplicate of #282 |
yes, it's true, I try |
Same issue here: completely disabling the bundle solves the problem... And yes, the problem is a known one not already solved as pointed out by @zhil that referenced the issue #282 . Unfortunately are almost 7 months this issue exist and it is not fixed. On my side I'm required to use this bundle to use JMSTranslationBundle, but as it completely breaks my application, I think I will switch to PHPTranslation that also offer a Symfony's Bundle. Good luck. |
thnks @Aerendir
|
@shubaivan the problem with adding that call for all resources, is that not all of the controllers in '../../src/AppBundle/Controller' might have the In our case; 20% of the controllers are simple, easily autowirable callables and 80% are extending the base Controller class which means In other words, not sure if there is a generic solution for this. Maybe |
U use Symfony 3.3.10 and php 7.1. I install
"jms/di-extra-bundle": "1.7.0"
and after that have errormy action
after when I called
getDoctrine
I have exceptionand code where throw exception, line 356
The text was updated successfully, but these errors were encountered: