vhs 5.1 和 TYPO3 9.5.3 崩溃的后端预览图像

Backend Preview Images with vhs 5.1 and TYPO3 9.5.3 crashes

现在在 TYPO3 更新到 9.5.3 后后端预览调用异常,当使用 v:content.resource.fal 在预览部分。

<f:section name="Preview">
  <v:content.resources.fal field="settings.falimage" as="images" record="{record}">
    <f:for each="{images}" as="image">
      <f:if condition="{image}">
        <f:image src="{image.id}" treatIdAsReference="1" maxWidth="100"/>
      </f:if>
    </f:for>
  </v:content.resources.fal>
</f:section>

后端异常说:

Call to a member function exec_SELECTgetRows() on null

TYPO3 9.5.3 vhs 5.1 通量 9.1 php7.2.12

门票#1551

您有解决此问题的解决方案或想法吗?

旧数据库 $GLOBALS['TYPO3_DB'] is removed in TYPO3 9.5. As a quick solution you can install the typo3db-legacy 扩展,带回旧数据库 class。

使用 vhs 5.1.1 问题已解决。为此,您不再需要 typo3db-legacy。