我在 symfony 中创建了新项目,但在每个站点上都收到错误提示:
An error occurred while loading the web debug toolbar (404: Not Found).
Do you want to open the profiler?
当我打开分析器时,有一条消息
Token not found
Token "59942c" was not found in the database.
此外,在缓存目录中,profiler 目录是空的!我检查了权限,它们是正确的。我尝试了 cache:clear
并手动删除缓存,但这没有帮助。
最佳答案
这通常是事件订阅者/监听器的问题。 试运行
console debug:event
检查错误
关于php - Symfony 分析器抛出 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31367192/