Symfony 2-致命错误:无法在第532行的C:\ ... \ app \ cache \ dev \ classes.php中重新声明类SessionHandlerInterface [英] Symfony 2 - Fatal error: Cannot redeclare class SessionHandlerInterface in C:\...\app\cache\dev\classes.php on line 532

查看:107
本文介绍了Symfony 2-致命错误:无法在第532行的C:\ ... \ app \ cache \ dev \ classes.php中重新声明类SessionHandlerInterface的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

重新安装我的沼泽环境后,打开app_dev.php后,此错误消息显示在屏幕上:

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

致命错误:无法在第532行的C:... \ app \ cache \ dev \ classes.php中重新声明类SessionHandlerInterface

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?

推荐答案

我解决了清除缓存的问题:

I solved it clearing the cache:

app/console cache:clear

这篇关于Symfony 2-致命错误:无法在第532行的C:\ ... \ app \ cache \ dev \ classes.php中重新声明类SessionHandlerInterface的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆