TYPO3 Exception 1480765571

Data structure identifier must be set, typically by executing TcaFlexPrepare

If you encounter this error during FlexForm integration:

Data structure identifier must be set, typically by executing TcaFlexPrepare data provider before
Copied!

it means that your FlexForm's XML structure is defective (broken, has errors, does not parse properly).

Missing prefix "FILE:"

It occurs, for example, when you try to add a FlexForm file to a CE or plugin, but forget the prefix FILE::

EXT:my_extension/Configuration/TCA/Overrides/tt_content.php
/**
 * WRONG WAY to add a FlexForm file to a content element
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
    '*',
    'EXT:my_extension/Resources/Private/FlexForm/MyFlexForm.xml',
    'textpic'
);

/**
 * CORRECT WAY to add a FlexForm file to a content element
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
    '*',
    'FILE:EXT:my_extension/Resources/Private/FlexForm/MyFlexForm.xml',
    'textpic'
);
Copied!