我刚刚从2.2升级到2.3.2版本。进入symfony 2.2,没有错误。当我升级到2.3.2版本时,我遇到了这个错误。
Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("[ERROR 94] Validation failed: no DTD found ! (in n/a - line 2, column 21)
[ERROR 9] Input is not proper UTF-8, indicate encoding !
Bytes: 0xFC 0x67 0x65 0x6E (in n/a - line 51, column 23)") in "MyAppBundle:Controler:index.html.twig".
您的信息第2行(在块的开头上方)和第51行(文件末尾)为空 < / p>
有帮助吗?
萨姆