-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Cache] Cannot redeclare class #21520
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
Comments
Have you removed the full cache? |
Absolutly. Same problem occuring. |
Not sure if case-sensitive problem actually... The same problem persist even when i put the cache directory complely inside the debian file system... |
Could you try to remove your |
problem persist.. |
Could this be related to the new Simple Cache system ? |
How does this relate to Cache? |
I dont know, i thought the problem came from the cache system, as it can be writed once, but not re-writed. With your suggestion, the error message remains but changes from FirewallMap to _FirewallMap that can't be redeclare etc... |
Not sure if it's related, but in the Symfony Demo app we had the same problem, but with "Cannot redeclare class Symfony\Component\HttpFoundation\Response". It was solved by #21184. |
I can't reproduce the issue on OSX+debian with PHP7+. |
@chalasr Removing the line did the trick ! I'm running PHP 5.6 by the way... |
@zogs Thanks for confirming, fixed in #21521. @javiereguiluz Nice catch, thanks! |
…ile (chalasr) This PR was merged into the 3.3-dev branch. Discussion ---------- [SecurityBundle] Remove FirewallMap from classes to compile | Q | A | ------------- | --- | Branch? | master | Tests pass? | yes | Fixed tickets | #21520 | License | MIT Commits ------- d109109 [SecurityBundle] Remove FirewallMap from classes to compile
Hi,
After a simple upgrade from 3.2.* to 3.3.x-dev, the cache system does not work normally anymore.
After upgrade, with a empty cache, the first HTTP request create the cache directory correctly. But the second fail inexorably. Returning exactly this error
Compile Error: Cannot redeclare class Symfony\Bundle\SecurityBundle\Security\FirewallMap
I'm pretty sure this looks like to a case-sensitive problem, as my system run on windows with a Vagrant VM hosting debian 8. And this is a frequent problem with that configuration !
I'm not enough confortable with symfony intern mechanism to find the issue myself tough...
The text was updated successfully, but these errors were encountered: