我安装了新的Symfony演示应用程序。
当我浏览应用程序时,它显示了一个异常!
An exception has been thrown during the rendering of a template ("Notice: Undefined offset: 1") in blog/index.html.twig at line 22.
500 Internal Server Error - Twig_Error_Runtime
1 linked Exception: ContextErrorException »
当我检查index.html.twig
时,我发现了这行代码
{{ show_source_code(_self) }}
任何人都可以提供帮助吗?