Egel Egel - 1 month ago 24
PHP Question

Symfony 2 - Fatal error: Cannot redeclare class SessionHandlerInterface in C:\...\app\cache\dev\classes.php on line 532

After reinstalling my wamp environment this error message is showing on screen after I open app_dev.php:


Fatal error: Cannot redeclare class SessionHandlerInterface in C:...\app\cache\dev\classes.php on line 532


Does anyone have any clue what is going wrong?

Answer

I solved it clearing the cache:

app/console cache:clear