Klein Thomas
Klein Thomas
Hi everyone, another guy annoyed by this "cannot redeclare class" error here ! I tryied the differents workaround and patches here but none fully solved the problem so I digged...
It fixes the probleme with the cache:clear command but not when reloading a page from browser (after modifying its controller)
In fact it does not solve the problem as the warmup is not done anymore during the command, the injectors are not created !
@i4got10 Could not test #131 with the cache:clear command as it is broken in my project now but it does not solve the issue when refreshing a page @vkhramtsov :...
@CristianSitov in our project the bundles causes issues in dev environnement and cache clearing but it has no impact in our production, everything works fine and as expected, maybe you...
Anyway that's not the point here ... @schmittjoh From what i've learned so far digging into this issue, one solution would be to have the proxy classes autoloaded so the...
I think that adding a command to invoke manualy is not an option ... what about the case when you get the error after refreshing a page in the browser...
The 2 errors leeds to the same exception message: cannot redeclare class etc ... see https://github.com/schmittjoh/JMSDiExtraBundle/issues/96#issuecomment-24142354 They append in different places but the error is caused by the "require" statements...
@schmittjoh see https://github.com/schmittjoh/JMSDiExtraBundle/issues/96#issuecomment-28063266 not fixing the issue on page refresh
The issue seems to have been fixed in a way or another ... i didn't get that error for a longtime now in dev ... should make some further test...