JMSSecurityExtraBundle
JMSSecurityExtraBundle copied to clipboard
Cannot redeclare class "EnhancedProxy_xxxxx\__CG__\JMS\SecurityExtraBundle\Tests\Functional\TestBundle\Controller\PostController"
Lately on app/console cache:clear
or app/console cache:warmup
I am getting this error message:
PHP Fatal error: Cannot redeclare class EnhancedProxy_73b88e6bf5989f9e4785cea753cad509a15376f1__CG__\JMS\SecurityExtraBundle\Tests\Functional\TestBundle\Controller\PostController in /symfony2-project/app/cache/de_/jms_diextra/lookup_method_classes/JMS-SecurityExtraBundle-Tests-Functional-TestBundle-Controller-PostController.php on line 11
However, that happens only on first command execution. If I execute the same command again (after getting this error) then it succesfully finishes without any errors.