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

后端 未结 7 934
借酒劲吻你
借酒劲吻你 2020-12-11 00:38

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

Fatal error: Cannot redeclare class SessionHa

7条回答
  •  庸人自扰
    2020-12-11 01:26

    Just try to clear the Symfony2 cache with the one (or all) the commands below :

    php app/console cache:clear --env=prod --no-debug (on production mode)
    

    or / and

    php app/console cache:clear --env=dev --no-debug (on development mode)
    

提交回复
热议问题