IvoryCKEditorBundle中没有错误。如果你提供你的composer.json,命令bin/console debug:container
和bin/console config IvoryCKEditorBundle
的结果会帮助我给你更准确的答案。
it looks like, there is a problem because a FormType should not demand params in its constructor, am I wrong?
您错了,CKEditorType可能会在其构造函数中要求params,并且它在当前版本中会这样做。 文件有问题vendor/egeloen/ckeditor-bundle/Resources/config/form.xml
它应该为CKEditorBundle配置(提供)服务依赖关系,但事实并非如此。
我会尝试更新作曲家,清除缓存和调试服务容器配置对于这种捆绑,它应该是这样的:
⇒ composer update
⇒ bin/console cache:clear
⇒ bin/console debug:container|grep ivory
ivory_ck_editor.config_manager Ivory\CKEditorBundle\Model\ConfigManager
ivory_ck_editor.form.type Ivory\CKEditorBundle\Form\Type\CKEditorType
ivory_ck_editor.plugin_manager Ivory\CKEditorBundle\Model\PluginManager
ivory_ck_editor.renderer Ivory\CKEditorBundle\Renderer\CKEditorRenderer
ivory_ck_editor.styles_set_manager Ivory\CKEditorBundle\Model\StylesSetManager
ivory_ck_editor.template_manager Ivory\CKEditorBundle\Model\TemplateManager
ivory_ck_editor.twig_extension Ivory\CKEditorBundle\Twig\CKEditorExtension
这似乎是IvoryCKEditorBundle中的一个错误。 – felipsmartins
@felipsmartins不是。 – mblaettermann