我有一个函数来寻找XML标签: function extraerTagXML($mensaje, $tagname){
$dom = new domDocument('1.0', 'UTF-8');
//
// load the html into the object ***/
$dom->loadHTML($mensaje);
嗨我试图在我的自定义模板中包含FOSUser包的登录表单。这样的: {% include 'FOSUserBundle:Security:login.html.twig' %}
但我有此错误: Variable "error" does not exist in FOSUserBundle:Security:login.html.twig at line 7 有没有一种办法,包括没有在我的控制