I got an error with:
<flux:form.data table="pages" field="tx_fed_page_flexform" uid="{page.uid}" as="pageSettings">
The error message was:
(1/1) #1358679983 TYPO3FluidFluidCoreViewHelperException
Either table "pages", field "tx_fed_page_flexform" or record with uid 506 do not exist and you did not manually provide the "record" attribute. in /var/www/typo3/public/typo3conf/ext/flux/Classes/ViewHelpers/Form/DataViewHelper.php line 112
Cause for this problem was that the page was disabled and thus inaccessible.
Solution is to check if the page is accessible before calling flux:form.data:
<f:if condition="{f:uri.page(pageUid: page.uid)}"> <flux:form.data table="pages" field="tx_fed_page_flexform" uid="{page.uid}" as="pageSettings"> .. </flux:form.data> </f:if>
Links: