繁体   English   中英

Typo3 10.4:Tx_news 内容元素呈现错误

[英]Typo3 10.4: Tx_news content elements rendering error

我正在将 Typo3 从版本 8 更新到 9 和 10。现在有一个错误,我无法找到解决方案。

在 tx_news 详细信息视图中,我使用的是自定义流体模板。 我 Typo3 8 和 9 一切正常。 在 Typo3 10.4 中显示详细信息页面时出现错误:(1/1) #1381512761 TYPO3\CMS\Core\Type\Exception\InvalidEnumerationValueException 枚举“TYPO3\CMS\Core\DataHandling\TableColumnSubType”的无效值“FILE”

如果我删除流体模板中内容元素的此代码,页面将显示没有错误:

<f:if condition="{newsItem.contentElements}">
    <!-- content elements -->
    <f:cObject typoscriptObjectPath="lib.tx_news.contentElementRendering">{newsItem.contentElementIdList}</f:cObject>
</f:if>

当我使用 contentelements 时,我需要这段代码。

您现在可以在这里看到错误: https://asienhaus104.der-koenig.net/aktuelles/detail/spenden-fuer-die-suedostasien

我尝试了很多变体来解决这个问题,但是当我为内容元素插入流体 output 时仍然会出现错误。

有人可以帮忙吗?

谢谢,于尔根

似乎您有一个内容元素,它在 TypoScript 中使用 FILE object(已在 v10 中删除)呈现。 查看您的 TypoScript(TypoScript object 浏览器最适合此操作)并搜索 FILE 对象(并替换它们)。

Here you can find the deprecation notice and a migration suggestion: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/9.5/Deprecation-85970-FileContentObject.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM