Akeneo将属性添加到类别导致错误

时间:2019-04-29 11:14:49

标签: php symfony akeneo

我正在使用 Akeneo 3.0版本。我尝试将新属性添加到“类别”,并遵循以下官方文档。 https://docs.akeneo.com/latest/manipulate_pim_data/category/add_new_properties_to_a_category.html

当我单击以编辑现有类别时,它将导致以下错误。

  

属性“ description”或方法“ description()”,“ getdescription()” /“ isdescription()”或“ __call()”都不存在,并且在类“ Symfony \ Component \ Form”中没有公共访问权限\ FormView”。

Twig\Error\
RuntimeError
in src/Acme/Bundle/EnrichBundle/Resources/views/CategoryTree/Tab/property.html.twig (line 4)
<div class="tab-pane tab-property {{ viewElement.loop.first ? 'active' : '' }}" id="{{ viewElement.alias|replace({' ': '-', '.': '-'})|lower }}"> 
   {% set generalProperties %}     
   {{ form_row(form.code) }}      
  {{ form_row(form.description) }} # this line causes the error
   {% endset %}   
 {% set nodeValues %}      
  {{ form_row(form.label) }}  
  {% endset %} 
   {{ elements.tabSections({

0 个答案:

没有答案
相关问题