在typo3后端中为foreach提供了无效的参数

时间:2018-11-13 16:03:44

标签: foreach typo3 backend typo3-7.6.x typo3-extensions

我正在尝试将旧扩展从Typo3 v6迁移到v7,一切似乎都还不错,前端以正确的方式显示了所有内容,后端为我提供了用于配置插件的表格,但是这三个插件之一会产生一个后端错误:

Uncaught TYPO3 Exception
PHP Warning: Invalid argument supplied for foreach() in /.../typo3_src-7.6.31/typo3/sysext/backend/Classes/Form/FormDataProvider/EvaluateDisplayConditions.php line 171

TYPO3\CMS\Core\Error\Exception thrown in file
/.../typo3_src-7.6.31/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 111.

17 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "Invalid argument supplied for foreach()", "/.../typo3_src-7.6.31/…orm/FormDataProvider/EvaluateDisplayConditions.php", 171, array)

16 TYPO3\CMS\Backend\Form\FormDataProvider\EvaluateDisplayConditions::flattenFlexformRowData(array)

15 TYPO3\CMS\Backend\Form\FormDataProvider\EvaluateDisplayConditions::removeFlexformSheets(array)

14 TYPO3\CMS\Backend\Form\FormDataProvider\EvaluateDisplayConditions::addData(array)

13 TYPO3\CMS\Backend\Form\FormDataGroup\TcaDatabaseRecord::compile(array)

12 TYPO3\CMS\Backend\Form\FormDataCompiler::compile(array)

...

所有三个插件都以相同的方式注册和配置,我试图操纵flexform文件,tables.php,Controller类,但是没有任何改变。

有人暗示吗?好吗?

0 个答案:

没有答案