Typo3 从内联迁移时出现流量错误<;通量:表单选项={…}>;至<;流量:form.option.*/>; 问题
我得到以下错误,我不知道为什么或如何修复它Typo3 从内联迁移时出现流量错误<;通量:表单选项={…}>;至<;流量:form.option.*/>; 问题,typo3,typo3-8.x,Typo3,Typo3 8.x,我得到以下错误,我不知道为什么或如何修复它 Call to undefined method FluidTYPO3\Flux\Form\Container\Sheet::setOption() 在禁用fluidpages并升级flux9.4之后,我正在尝试让事情正常运行。我想我已经正确地完成了数据库更新。我使用的是:typo38.7、flux9.4、nofluidcontent、nofluidpages、vhs 注意:这也在TYPO3的FluxSlack频道中交叉发布,如果需要,可以更容易地进
Call to undefined method FluidTYPO3\Flux\Form\Container\Sheet::setOption()
在禁用fluidpages
并升级flux
9.4之后,我正在尝试让事情正常运行。我想我已经正确地完成了数据库更新。我使用的是:typo3
8.7、flux
9.4、nofluidcontent
、nofluidpages
、vhs
注意:这也在TYPO3的Flux
Slack频道中交叉发布,如果需要,可以更容易地进行更长时间的对话
我的代码
以下是我以前在fluidbootstraptheme/Resources/Private/Templates/Content/Carousel.html中的内容
<f:section name="Configuration">
<flux:form id="carousel" options="{group: 'Bootstrap', sorting: 200, icon: 'EXT:fluidbootstraptheme/Resources/Public/Icons/Content/Carousel.png'}">
<f:section name="Configuration">
<flux:form id="carousel">
<flux:form.option.group value="Bootstrap" />
<flux:form.option.sorting value="200" />
<flux:form.option.icon value="EXT:fluidbootstraptheme/Resources/Public/Icons/Content/Carousel.png" />
其他参考资料
这里有些东西可能会有帮助,但我可能误解了,因此我的网站还不能正常工作
多亏了@Claus Due,他指出我在我的一个文件中意外地将
flux:form.option
放在flux:form.sheet
的内部,而不是直接放在flux:form
的内部。他将来也很和善
走错路
…只需确保添加一个专门定位和命名的图标typo3conf/ext/yourextension/Resources/Public/Icons/Content/ProgressBar.png
注意:我在上面的代码中将FluidBootTraptheme
抽象为yourextension
,这使得在您的具体案例中被替换的内容更加明显。多亏了@Claus Due,他指出在我的一个文件中,我不小心将flux:form.option
放在flux:form.sheet
的内部,而不是直接在flux:form
内部。他将来也很和善
走错路
…只需确保添加一个专门定位和命名的图标typo3conf/ext/yourextension/Resources/Public/Icons/Content/ProgressBar.png
注意:在上面的代码中,我将FluidBootTraptheme
抽象为yourextension
,这使得在您的特定情况下被替换的内容更加明显
<f:section name="Configuration">
<flux:form id="progressBar">
<flux:form.sheet name="progressBar">
<flux:form.option.group value="Bootstrap" />
<flux:form.option.sorting value="650" />
<flux:form.option.icon value="EXT:yourextension/Resources/Public/Icons/Content/ProgressBar.png" />
<flux:field.checkbox name="settings.progressBarAnimated" default="0" />
<flux:field.checkbox name="settings.progressBarStriped" default="0" />
<flux:field.select name="settings.progressBarColor"
<f:section name="Configuration">
<flux:form id="progressBar">
<flux:form.option.group value="Bootstrap" />
<flux:form.option.sorting value="650" />
<flux:form.option.icon value="EXT:yourextension/Resources/Public/Icons/Content/ProgressBar.png" />
<flux:form.sheet name="progressBar">
<flux:field.checkbox name="settings.progressBarAnimated" default="0" />
<flux:field.checkbox name="settings.progressBarStriped" default="0" />
<flux:field.select name="settings.progressBarColor"
<f:section name="Configuration">
<flux:form id="progressBar">
<flux:form.option.group value="Bootstrap" />
<flux:form.option.sorting value="650" />
<flux:form.sheet name="progressBar">
<flux:field.checkbox name="settings.progressBarAnimated" default="0" />
<flux:field.checkbox name="settings.progressBarStriped" default="0" />
<flux:field.select name="settings.progressBarColor"