Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/symfony/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Forms Kunstmaan CMS:表单未传递到视图_Forms_Symfony_Symfony Forms - Fatal编程技术网

Forms Kunstmaan CMS:表单未传递到视图

Forms Kunstmaan CMS:表单未传递到视图,forms,symfony,symfony-forms,Forms,Symfony,Symfony Forms,我想用KunstmaanCMS实现一个前端表单 因此,我创建了一个Formpage并向其中添加了一个SingleLineTextPagePart。如中所述 后端正在工作,我可以创建FormPagePart并将其正确保存到数据库中 加载应显示表单的frontendpage时,出现以下异常: Key "formwidget_KunstmaanFormBundleEntityPagePartsSingleLineTextPagePart1" in object with ArrayAccess of

我想用KunstmaanCMS实现一个前端表单

因此,我创建了一个Formpage并向其中添加了一个SingleLineTextPagePart。如中所述

后端正在工作,我可以创建FormPagePart并将其正确保存到数据库中

加载应显示表单的frontendpage时,出现以下异常:

Key "formwidget_KunstmaanFormBundleEntityPagePartsSingleLineTextPagePart1" in object with ArrayAccess of class "Symfony\Component\Form\FormView" does not exist in KunstmaanFormBundle:SingleLineTextPagePart:view.html.twig at line 2 
我想我需要在某个地方处理表单的创建和提交。但我不知道如何做到这一点

我被困在这里了。感谢您的帮助